summary refs log tree commit diff
path: root/src/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sv.c')
-rw-r--r--src/sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sv.c b/src/sv.c
index d126cee..06b2e41 100644
--- a/src/sv.c
+++ b/src/sv.c
@@ -153,7 +153,7 @@ int status(char *unused) {
   int rc;
 
   rc =svstatus_get();
-  switch(r) { case -1: if (lsb) done(4); case 0: return(0); }
+  switch(rc) { case -1: if (lsb) done(4); case 0: return(0); }
   rc =svstatus_print(*service);
   if (chdir("log") == -1) {
     if (errno != error_noent) {