tMake error messages lowercase - pm - barely a pack manager
(HTM) git clone git://z3bra.org/pm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8feb8cec683ac7e4bc9105ad3b8829810c9d8ff7
(DIR) parent e17765dc52fa7fbd49aed285bd6a591018d833f7
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Tue, 12 Jan 2016 14:09:06 +0100
Make error messages lowercase
Diffstat:
M pm.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/pm.c b/pm.c
t@@ -158,7 +158,7 @@ inspect_collision(char *rootfs, struct pack *p)
chdir(rootfs);
while (archive_read_next_header(a, &e) == ARCHIVE_OK) {
if (stat(archive_entry_pathname(e), &st) == 0 && !S_ISDIR(st.st_mode)) {
- fprintf(stderr, "%s: File exists\n", archive_entry_pathname(e));
+ fprintf(stderr, "%s: file exists\n", archive_entry_pathname(e));
r = -1;
break;
}
t@@ -491,7 +491,7 @@ delete(const char *rootfs, const char *datadir, const char *packname)
/* ignore errors so everything gets deleted */
if (delete_content(f) < 0) {
- fprintf(stderr, "%s: Cannot remove pack\n", packname);
+ fprintf(stderr, "%s: cannot remove pack\n", packname);
fclose(f);
return ERR_DELETE;
}
t@@ -499,14 +499,14 @@ delete(const char *rootfs, const char *datadir, const char *packname)
if (unlink(meta) < 0) {
perror(meta);
- fprintf(stderr, "%s: Cannot remove metadata\n", packname);
+ fprintf(stderr, "%s: cannot remove metadata\n", packname);
return ERR_DELETE;
}
snprintf(meta, PATH_MAX, "%s/%s/version", datadir, packname);
if (unlink(meta) < 0) {
perror(meta);
- fprintf(stderr, "%s: Cannot clean metadata\n", packname);
+ fprintf(stderr, "%s: cannot clean metadata\n", packname);
return ERR_DELETE;
}