commit: 40d2affb9a02cf1fd90ebfde2fd35309fb35ee0c
parent 096682cd9d0dd45b90c64a06066f2281622c14dd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 20 Sep 2024 05:18:47 +0200
lib/mkdir: unify error message formatting
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mkdir.c b/lib/mkdir.c
@@ -50,7 +50,7 @@ mkdir_parents(char *path, mode_t mode)
return 0;
}
- fprintf(stderr, "%s: Failed making directory '%s': %s\n", argv0, path, strerror(errno));
+ fprintf(stderr, "%s: error: Failed making directory '%s': %s\n", argv0, path, strerror(errno));
errno = 0;
return -1;
}