summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chown.c b/src/chown.c
index 838332c69..a5bc1f8e0 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -166,7 +166,7 @@ main (int argc, char **argv)
reference_file = optarg;
break;
case DEREFERENCE_OPTION:
- chopt.change_symlinks = 0;
+ chopt.dereference = DEREF_ALWAYS;
break;
case FROM_OPTION:
{
@@ -188,7 +188,7 @@ main (int argc, char **argv)
chopt.force_silent = 1;
break;
case 'h':
- chopt.change_symlinks = 1;
+ chopt.dereference = DEREF_NEVER;
break;
case 'v':
chopt.verbosity = V_high;