From 6331cf059ccfdf35f4e5a505cbae885094cc41b0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Nov 2009 09:08:27 +0100 Subject: *: use "can't" instead of "cannot" Signed-off-by: Denys Vlasenko --- editors/ed.c | 4 ++-- editors/sed.c | 2 +- editors/vi.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'editors') 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++; -- cgit v1.2.3