better messages

This commit is contained in:
tTh
2024-03-31 00:15:47 +01:00
parent 346ea08aba
commit fe3bc9d64c
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ if (foo) {
return -2;
}
if (S_IFDIR != (stbuf.st_mode & S_IFMT)) {
fprintf(stderr, "! %s must be a directory\n", dest);
fprintf(stderr, "%s: %s must be a directory\n", __func__, dest);
return -3;
}