diff options
author | Thomas Moestl <tmm@FreeBSD.org> | 2001-03-17 15:59:59 +0000 |
---|---|---|
committer | Thomas Moestl <tmm@FreeBSD.org> | 2001-03-17 15:59:59 +0000 |
commit | fccc713c06b0775094ce4b596b7c8aa4d0b3ba0a (patch) | |
tree | e00a7055f6df4fba0036137b67c968a442d7f1d6 /usr.sbin | |
parent | 69b58b037cfbc3140dabff80fbe0d145a1d35091 (diff) | |
download | src-fccc713c06b0775094ce4b596b7c8aa4d0b3ba0a.tar.gz src-fccc713c06b0775094ce4b596b7c8aa4d0b3ba0a.zip |
Correct the arguments to the extattrct()l call so that the enable and
disable commands work as documented.
Approved by: rwatson
Notes
Notes:
svn path=/head/; revision=74394
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/extattrctl/extattrctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/extattrctl/extattrctl.c b/usr.sbin/extattrctl/extattrctl.c index 240c22c03cdc..eeaf2cdc046f 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); |