aboutsummaryrefslogtreecommitdiff
path: root/tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tr.c')
-rw-r--r--tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tr.c b/tr.c
index 3e34e68fa..fd547b87d 100644
--- a/tr.c
+++ b/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 }