mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
Eliminate a "format string is not a string literal" warning.
This commit is contained in:
parent
3507006763
commit
83157972d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315692
|
@ -72,7 +72,7 @@ main(int argc, char **argv)
|
|||
if (argc > 0) {
|
||||
fd = open(argv[0], O_RDONLY);
|
||||
if (fd < 0)
|
||||
err(1, argv[0]);
|
||||
err(1, "%s", argv[0]);
|
||||
} else {
|
||||
fd = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue