summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index 34b56481d..ae9320bb5 100644
--- a/src/who.c
+++ b/src/who.c
@@ -159,7 +159,8 @@ enum
LOOKUP_OPTION = CHAR_MAX + 1
};
-static struct option const longopts[] = {
+static const struct option const longopts[] =
+{
{"all", no_argument, NULL, 'a'},
{"boot", no_argument, NULL, 'b'},
{"count", no_argument, NULL, 'q'},