aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 19:29:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 19:29:44 +0000
commita6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch)
treef7f2113941a2dc0385080baa7656ead41f45f834 /editors
parent12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff)
downloadbusybox-a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808.tar.gz
small style fixes
Diffstat (limited to 'editors')
-rw-r--r--editors/patch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 047de9e57..9336b275a 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -147,7 +147,7 @@ int patch_main(int argc, char **argv)
strcpy(backup_filename, new_filename);
strcat(backup_filename, ".orig");
if (rename(new_filename, backup_filename) == -1) {
- bb_perror_msg_and_die("Couldnt create file %s",
+ bb_perror_msg_and_die("cannot create file %s",
backup_filename);
}
dst_stream = xfopen(new_filename, "w");
@@ -256,10 +256,10 @@ int patch_main(int argc, char **argv)
if ((dest_cur_line == 0) || (dest_beg_line == 0)) {
/* The new patched file is empty, remove it */
if (unlink(new_filename) == -1) {
- bb_perror_msg_and_die("Couldnt remove file %s", new_filename);
+ bb_perror_msg_and_die("cannot remove file %s", new_filename);
}
if (unlink(original_filename) == -1) {
- bb_perror_msg_and_die("Couldnt remove original file %s", new_filename);
+ bb_perror_msg_and_die("cannot remove original file %s", new_filename);
}
}
}