mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
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);
|
||||
if (error)
|
||||
err(-1, argv[0]);
|
||||
err(-1, "%s", argv[0]);
|
||||
argc--; argv++;
|
||||
|
||||
if (what != EALS) {
|
||||
|
Loading…
Reference in New Issue
Block a user