summaryrefslogtreecommitdiffstats
path: root/usr.sbin/extattrctl
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-03-17 15:59:59 +0000
committertmm <tmm@FreeBSD.org>2001-03-17 15:59:59 +0000
commitf5bc78ff8d13af415e80ce03c72ac0ef937f95b2 (patch)
tree46286ddd4d03641c167f535a72dab508b449b63a /usr.sbin/extattrctl
parent97ef17ff72184bfbc39e0cd85f2d8633a9fdf8b9 (diff)
downloadFreeBSD-src-f5bc78ff8d13af415e80ce03c72ac0ef937f95b2.zip
FreeBSD-src-f5bc78ff8d13af415e80ce03c72ac0ef937f95b2.tar.gz
Correct the arguments to the extattrct()l call so that the enable and
disable commands work as documented. Approved by: rwatson
Diffstat (limited to 'usr.sbin/extattrctl')
-rw-r--r--usr.sbin/extattrctl/extattrctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/extattrctl/extattrctl.c b/usr.sbin/extattrctl/extattrctl.c
index 240c22c..eeaf2cd 100644
--- a/usr.sbin/extattrctl/extattrctl.c
+++ b/usr.sbin/extattrctl/extattrctl.c
@@ -192,8 +192,8 @@ main(int argc, char *argv[])
perror("extattrctl enable");
return (-1);
}
- error = extattrctl(argv[2], UFS_EXTATTR_CMD_ENABLE, argv[4],
- namespace, argv[5]);
+ error = extattrctl(argv[2], UFS_EXTATTR_CMD_ENABLE, argv[5],
+ namespace, argv[4]);
if (error) {
perror("extattrctl enable");
return (-1);
@@ -208,7 +208,7 @@ main(int argc, char *argv[])
return (-1);
}
error = extattrctl(argv[2], UFS_EXTATTR_CMD_DISABLE, NULL,
- namespace, argv[5]);
+ namespace, argv[4]);
if (error) {
perror("extattrctl disable");
return (-1);
OpenPOWER on IntegriCloud