Correct the arguments to the extattrct()l call so that the enable and
disable commands work as documented. Approved by: rwatson
This commit is contained in:
parent
69b58b037c
commit
fccc713c06
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74394
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user