summaryrefslogtreecommitdiff
path: root/src/rc/start-stop-daemon.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-01 19:54:46 +0000
committerRoy Marples <roy@marples.name>2008-02-01 19:54:46 +0000
commitfef5d0af591c6c8a91f69bba5e62c99df1a732c9 (patch)
tree8a3709e9e00a84f8211a6816afaf27d3166d8d76 /src/rc/start-stop-daemon.c
parentf12f3e0641430b9011e21e2ba7781035d545b4ed (diff)
downloadopenrc-fef5d0af591c6c8a91f69bba5e62c99df1a732c9.tar.gz
openrc-fef5d0af591c6c8a91f69bba5e62c99df1a732c9.tar.bz2
openrc-fef5d0af591c6c8a91f69bba5e62c99df1a732c9.tar.xz
Constantise as much as possible so that it reduces COW usage.
Diffstat (limited to 'src/rc/start-stop-daemon.c')
-rw-r--r--src/rc/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index 43d1d3d..5a524d9 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -487,7 +487,7 @@ static void handle_signal (int sig)
#include "_usage.h"
#define getoptstring "KN:R:Sbc:d:g:mn:op:s:tu:r:x:1:2:" getoptstring_COMMON
-static struct option longopts[] = {
+static const struct option longopts[] = {
{ "stop", 0, NULL, 'K'},
{ "nicelevel", 1, NULL, 'N'},
{ "retry", 1, NULL, 'R'},