From 26e0b3de335b5921868d0029483823e1b151a39d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 19 Sep 1997 19:24:41 +0000 Subject: (OPT_EXEC_OK, OPT_SUID_OK): Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC. --- libdiskfs/opts-std-runtime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/opts-std-runtime.c b/libdiskfs/opts-std-runtime.c index 9892d1a2..dfa440cd 100644 --- a/libdiskfs/opts-std-runtime.c +++ b/libdiskfs/opts-std-runtime.c @@ -22,8 +22,8 @@ #include "priv.h" -#define SUID_OK_OPT 600 -#define EXEC_OK_OPT 601 +#define OPT_SUID_OK 600 +#define OPT_EXEC_OK 601 static const struct argp_option std_runtime_options[] = @@ -77,9 +77,9 @@ set_opts (struct parse_hook *h) } if (h->nosuid != -1) - nosuid = h->nosuid; + _diskfs_nosuid = h->nosuid; if (h->noexec != -1) - noexec = h->noexec; + _diskfs_noexec = h->noexec; free (h); -- cgit v1.2.3