summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-05-22 12:45:12 +0200
committerNiklas Halle <niklas@niklashalle.net>2020-05-22 12:45:12 +0200
commit32db24465d74f99409a182bd07140231f65a13e3 (patch)
tree5b8a8d56db25f6a61f05be5f77f3759fa6b228c7
parent3b7e61eab8ce5d230bc1b172942c1ab9459ed161 (diff)
downloadbetriebssysteme-32db24465d74f99409a182bd07140231f65a13e3.tar.gz
betriebssysteme-32db24465d74f99409a182bd07140231f65a13e3.zip
more zsh like output
-rw-r--r--02_exercise/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/02_exercise/process.c b/02_exercise/process.c
index 093b712..8dc331a 100644
--- a/02_exercise/process.c
+++ b/02_exercise/process.c
@@ -123,7 +123,7 @@ int exec_command(Process p) {
close(p.out_fd);
}
execvp(p.argv[0], p.argv);
- fprintf(stderr, "could not execute \"%s\"\n", p.argv[0]);
+ fprintf(stderr, "command not found: \"%s\"\n", p.argv[0]);
fflush(stderr);
exit(-1);
}