summaryrefslogtreecommitdiffstats
path: root/bin/setfacl/setfacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/setfacl/setfacl.c')
-rw-r--r--bin/setfacl/setfacl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/setfacl/setfacl.c b/bin/setfacl/setfacl.c
index d27285c..1709769 100644
--- a/bin/setfacl/setfacl.c
+++ b/bin/setfacl/setfacl.c
@@ -153,7 +153,7 @@ main(int argc, char *argv[])
entry = zmalloc(sizeof(struct sf_entry));
entry->acl = acl_from_text(optarg);
if (entry->acl == NULL)
- err(1, "acl_from_text() failed");
+ err(1, "%s", optarg);
entry->op = OP_MERGE_ACL;
TAILQ_INSERT_TAIL(&entrylist, entry, next);
break;
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
entry = zmalloc(sizeof(struct sf_entry));
entry->acl = acl_from_text(optarg);
if (entry->acl == NULL)
- err(1, "acl_from_text() failed");
+ err(1, "%s", optarg);
entry->op = OP_REMOVE_ACL;
TAILQ_INSERT_TAIL(&entrylist, entry, next);
break;
OpenPOWER on IntegriCloud