mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
argv[0] in error prefix
This commit is contained in:
parent
a77e6c1d80
commit
fc57e89e37
@ -96,7 +96,7 @@ int main(int argc, char ** argv) {
|
||||
break;
|
||||
case 'd':
|
||||
if(!parse_uint(optarg, maxdepth))
|
||||
return fprintf(stderr, "-d %s: %s\n", optarg, strerror(errno)), __LINE__;
|
||||
return fprintf(stderr, "%s: -d %s: %s\n", argv[0], optarg, strerror(errno)), __LINE__;
|
||||
break;
|
||||
case 'a':
|
||||
print_nontzpfms = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user