Invoke err() with a format string rather than directly with a passed
command line argument. Submitted by: Alfredo Ortega <alfredo at coresecurity dot com> Thanks to: Core Security Technologies MFC after: 3 days
This commit is contained in:
parent
f3345a46c6
commit
17097e8c0f
@ -172,7 +172,7 @@ main(int argc, char *argv[])
|
||||
|
||||
error = extattr_string_to_namespace(argv[0], &attrnamespace);
|
||||
if (error)
|
||||
err(-1, argv[0]);
|
||||
err(-1, "%s", argv[0]);
|
||||
argc--; argv++;
|
||||
|
||||
if (what != EALS) {
|
||||
|
Loading…
Reference in New Issue
Block a user