summaryrefslogtreecommitdiff
path: root/archival/unlzma.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-29 21:30:43 +0000
committerDenis Vlasenko2006-09-29 21:30:43 +0000
commita959588b80529ef5e02048ed71f3c7bf9a117217 (patch)
tree331b3963cb98fded02b753ca33bfa37cb48a97c6 /archival/unlzma.c
parent6c30db8bd37da1466dc71bf3c8c20851d8f46c43 (diff)
downloadbusybox-a959588b80529ef5e02048ed71f3c7bf9a117217.zip
busybox-a959588b80529ef5e02048ed71f3c7bf9a117217.tar.gz
Yet another silly little byte saving. couldn't -> cannot
Diffstat (limited to 'archival/unlzma.c')
-rw-r--r--archival/unlzma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/unlzma.c b/archival/unlzma.c
index 00acea6..fe542b6 100644
--- a/archival/unlzma.c
+++ b/archival/unlzma.c
@@ -40,7 +40,7 @@ int unlzma_main(int argc, char **argv)
/* bug: char *extension = filename + strlen(filename) - 5; */
char *extension = strrchr(filename, '.');
if (!extension || strcmp(extension, ".lzma") != 0) {
- bb_error_msg_and_die("Invalid extension");
+ bb_error_msg_and_die("invalid extension");
}
xstat(filename, &stat_buf);
*extension = '\0';
@@ -53,7 +53,7 @@ int unlzma_main(int argc, char **argv)
if (!status)
filename[strlen(filename)] = '.';
if (unlink(filename) < 0) {
- bb_error_msg_and_die("Couldn't remove %s", filename);
+ bb_error_msg_and_die("cannot remove %s", filename);
}
}