summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slstatus.c b/slstatus.c
index b05d915..c1cf8ac 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -53,9 +53,10 @@ main(int argc, char *argv[])
struct sigaction act;
struct timespec start, current, diff, intspec, wait;
size_t i, len;
- int sflag = 0;
+ int sflag;
char status[MAXLEN];
+ sflag = 0;
ARGBEGIN {
case 's':
sflag = 1;