mirror of
https://git.sr.ht/~calebccff/pbsplash
synced 2026-01-12 20:48:40 -09:00
getopt: fix error msg for invalid dpi
This commit is contained in:
parent
9c05d2c7f3
commit
883ce77d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
dpi = strtol(optarg, &end, 10);
|
||||
if (end == optarg) {
|
||||
fprintf(stderr, "Invalid font size: %s\n",
|
||||
fprintf(stderr, "Invalid dpi: %s\n",
|
||||
optarg);
|
||||
return usage();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue