summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-09-19 19:24:41 +0000
committerMiles Bader <miles@gnu.org>1997-09-19 19:24:41 +0000
commit26e0b3de335b5921868d0029483823e1b151a39d (patch)
tree9221518fc5353668e4175a0b1fd447a9f5878b32 /libdiskfs
parentbacdb6105e91a7f7ce49a61ee433051ec9e2f63e (diff)
(OPT_EXEC_OK, OPT_SUID_OK):
Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/opts-std-runtime.c8
1 files changed, 4 insertions, 4 deletions
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);