* command.c (do_cd_command): Reuse translated message.

This commit is contained in:
Pavel Roskin 2002-09-26 23:55:00 +00:00
parent b31f058eea
commit c1e04b9ed6
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-09-26 Pavel Roskin <proski@gnu.org>
* command.c (do_cd_command): Reuse translated message.
* user.c (check_patterns): Ignore invalid shell_patterns and
let user see them in the menu. The error message was too vague.

View File

@ -167,7 +167,7 @@ void do_cd_command (char *cmd)
}
} else
if (!examine_cd (&cmd [3])) {
message (1, MSG_ERROR, _(" Cannot chdir to '%s' \n %s "),
message (1, MSG_ERROR, _(" Cannot chdir to \"%s\" \n %s "),
&cmd [3], unix_error_string (errno));
return;
}