*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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 */
|
||||
|
@@ -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++;
|
||||
|
Reference in New Issue
Block a user