From fef5d0af591c6c8a91f69bba5e62c99df1a732c9 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 1 Feb 2008 19:54:46 +0000 Subject: Constantise as much as possible so that it reduces COW usage. --- src/rc/checkpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/checkpath.c') diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 74bed53f..51780329 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -161,7 +161,7 @@ static int parse_owner (struct passwd **user, struct group **group, #include "_usage.h" #define extraopts "path1 path2 ..." #define getoptstring "dfm:o:" getoptstring_COMMON -static struct option longopts[] = { +static const struct option longopts[] = { { "directory", 0, NULL, 'd'}, { "file", 0, NULL, 'f'}, { "mode", 1, NULL, 'm'}, -- cgit v1.2.3