summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 458ecd2..dfabb86 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -1027,7 +1027,7 @@ static void svc_restart (bool deps)
#include "_usage.h"
#define getoptstring "dDsv" getoptstring_COMMON
#define extraopts "stop | start | restart | describe | zap"
-static struct option longopts[] = {
+static const struct option longopts[] = {
{ "debug", 0, NULL, 'd'},
{ "ifstarted", 0, NULL, 's'},
{ "nodeps", 0, NULL, 'D'},