diff options
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 3e34e68fa..fd547b87d 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -173,7 +173,7 @@ extern int tr_main(int argc, char **argv) | |||
173 | input_length = complement(input, input_length); | 173 | input_length = complement(input, input_length); |
174 | if (argv[index] != NULL) { | 174 | if (argv[index] != NULL) { |
175 | if (*argv[index] == '\0') | 175 | if (*argv[index] == '\0') |
176 | fatalError("STRING2 cannot be empty\n"); | 176 | error_msg_and_die("STRING2 cannot be empty\n"); |
177 | output_length = expand(argv[index], output); | 177 | output_length = expand(argv[index], output); |
178 | map(input, input_length, output, output_length); | 178 | map(input, input_length, output, output_length); |
179 | } | 179 | } |