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
43cc0bc1df
commit
b689e6a8a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180537
@ -172,7 +172,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
error = extattr_string_to_namespace(argv[0], &attrnamespace);
|
error = extattr_string_to_namespace(argv[0], &attrnamespace);
|
||||||
if (error)
|
if (error)
|
||||||
err(-1, argv[0]);
|
err(-1, "%s", argv[0]);
|
||||||
argc--; argv++;
|
argc--; argv++;
|
||||||
|
|
||||||
if (what != EALS) {
|
if (what != EALS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user