mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
Use literal format strings. Found by clang.
This commit is contained in:
parent
0f817de766
commit
781e51d3eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209190
@ -204,7 +204,7 @@ read_iso3166_table(void)
|
||||
|
||||
fp = fopen(path_iso3166, "r");
|
||||
if (!fp)
|
||||
err(1, path_iso3166);
|
||||
err(1, "%s", path_iso3166);
|
||||
lineno = 0;
|
||||
|
||||
while ((s = fgetln(fp, &len)) != 0) {
|
||||
@ -343,7 +343,7 @@ read_zones(void)
|
||||
|
||||
fp = fopen(path_zonetab, "r");
|
||||
if (!fp)
|
||||
err(1, path_zonetab);
|
||||
err(1, "%s", path_zonetab);
|
||||
lineno = 0;
|
||||
|
||||
while ((line = fgetln(fp, &len)) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user