aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /editors
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/ed.c4
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/editors/ed.c b/editors/ed.c
index 8ed4cd42b..9ce8bead1 100644
--- a/editors/ed.c
+++ b/editors/ed.c
@@ -456,7 +456,7 @@ static void subCommand(const char *cmd, int num1, int num2)
*/
nlp = malloc(sizeof(LINE) + lp->len + deltaLen);
if (nlp == NULL) {
- bb_error_msg("cannot get memory for line");
+ bb_error_msg("can't get memory for line");
return;
}
@@ -983,7 +983,7 @@ static NOINLINE int searchLines(const char *str, int num1, int num2)
lp = lp->next;
}
- bb_error_msg("cannot find string \"%s\"", str);
+ bb_error_msg("can't find string \"%s\"", str);
return 0;
}
diff --git a/editors/sed.c b/editors/sed.c
index 27c345921..cc609c3f6 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1337,7 +1337,7 @@ int sed_main(int argc UNUSED_PARAM, char **argv)
G.outname = xasprintf("%sXXXXXX", argv[i]);
nonstdoutfd = mkstemp(G.outname);
if (-1 == nonstdoutfd)
- bb_perror_msg_and_die("cannot create temp file %s", G.outname);
+ bb_perror_msg_and_die("can't create temp file %s", G.outname);
G.nonstdout = fdopen(nonstdoutfd, "w");
/* Set permissions of output file */
diff --git a/editors/vi.c b/editors/vi.c
index 1a3997a6b..6a6722875 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2335,7 +2335,7 @@ static int file_insert(const char *fn, char *p, int update_ro_status)
} else if (cnt < size) {
// There was a partial read, shrink unused space text[]
p = text_hole_delete(p + cnt, p + (size - cnt) - 1); // un-do buffer insert
- status_line_bold("cannot read all of file \"%s\"", fn);
+ status_line_bold("can't read all of file \"%s\"", fn);
}
if (cnt >= size)
file_modified++;