print error to stderr not stdout
This commit is contained in:
parent
f03fbb9f9b
commit
d45b2f48c3
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ int print_oshash(FILE *output, char const *filename) {
|
|||
fprintf(output, "%s %s\n", hash, filename);
|
||||
return 0;
|
||||
} else {
|
||||
fprintf(output,"%s: No such file or permission denied\n",filename);
|
||||
fprintf(stderr,"%s: No such file or permission denied\n",filename);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue