diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2014-07-08 00:30:20 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-07-08 00:34:44 +0200 |
commit | 55f39ef1ddec924d746d96cbe5bdc1030eeff92b (patch) | |
tree | 7500656469e6d30b3b0f7a5ad0f924376163a037 /tools | |
parent | 7b6a70e22f42f57f6c04bfb414096fb702e24255 (diff) | |
download | attr-55f39ef1ddec924d746d96cbe5bdc1030eeff92b.tar.gz |
attr: Don't report a NULL attribute name when -l (list) fails
Diffstat (limited to 'tools')
-rw-r--r-- | tools/attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/attr.c b/tools/attr.c index 798fe84..d68a62c 100644 --- a/tools/attr.c +++ b/tools/attr.c @@ -231,8 +231,8 @@ main(int argc, char **argv) if (error) { perror("attr_list"); fprintf(stderr, - _("Could not list \"%s\" for %s\n"), - attrname, filename); + _("Could not list %s\n"), + filename); exit(1); } |