summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntux/ntux.h2
-rw-r--r--src/driver/ntux_driver_ctx.c4
-rw-r--r--src/internal/ntux_driver_impl.h2
-rw-r--r--src/skin/ntux_skin_chmod.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h
index c29ffa7..1a6cdea 100644
--- a/include/ntux/ntux.h
+++ b/include/ntux/ntux.h
@@ -114,7 +114,7 @@ struct ntux_common_ctx {
char ** senvp;
const char * loader;
const char * logfile;
- const char * refmode;
+ const char * refobj;
const char * strmode;
const char * owner;
const char * group;
diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c
index 09d2142..e0f381d 100644
--- a/src/driver/ntux_driver_ctx.c
+++ b/src/driver/ntux_driver_ctx.c
@@ -246,8 +246,8 @@ static int ntux_cctx_update(
cctx->logfile = entry->arg;
break;
- case TAG_REFMODE:
- cctx->refmode = entry->arg;
+ case TAG_REFOBJ:
+ cctx->refobj = entry->arg;
break;
case TAG_STRMODE:
diff --git a/src/internal/ntux_driver_impl.h b/src/internal/ntux_driver_impl.h
index c3c109c..8b2be85 100644
--- a/src/internal/ntux_driver_impl.h
+++ b/src/internal/ntux_driver_impl.h
@@ -39,7 +39,7 @@ enum app_tags {
TAG_SILENT,
TAG_RECURSIVE,
TAG_STRMODE,
- TAG_REFMODE,
+ TAG_REFOBJ,
TAG_CHANGES,
TAG_OWNER,
TAG_GROUP,
diff --git a/src/skin/ntux_skin_chmod.c b/src/skin/ntux_skin_chmod.c
index ce9ffad..798ad47 100644
--- a/src/skin/ntux_skin_chmod.c
+++ b/src/skin/ntux_skin_chmod.c
@@ -20,11 +20,11 @@ const struct argv_option ntux_chmod_options[] = {
{"strmode", 's',TAG_STRMODE,ARGV_OPTARG_REQUIRED,0,0,"<STRMODE>",
"set mode based on the symbolic mode %s"},
- {"refmode", 'e',TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,"<REFMODE>",
+ {"refobj", 'e',TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,"<REFOBJ>",
"set mode based on the reference file %s"},
- {"reference", 0,TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,0,
- "a synonym for --refmode"},
+ {"reference", 0,TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,0,
+ "a synonym for --refobj"},
{"changes", 'c',TAG_CHANGES,ARGV_OPTARG_NONE,0,0,0,
"print a list of changed ACEs"},