mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-12 08:34:42 +00:00
Fix NPE in new unbuffer command
This commit is contained in:
parent
31e746c937
commit
6bb8b26d70
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
if (!(prog = commandv(argv[1], pathbuf, sizeof(pathbuf)))) {
|
if (!(prog = commandv(argv[1], pathbuf, sizeof(pathbuf)))) {
|
||||||
write(2, STR("error: "));
|
write(2, STR("error: "));
|
||||||
write(2, prog, strlen(prog));
|
write(2, argv[1], strlen(argv[1]));
|
||||||
write(2, STR(" not found\n"));
|
write(2, STR(" not found\n"));
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue