diff options
author | Mark Whitley <markw@lineo.com> | 2000-12-07 19:56:48 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-12-07 19:56:48 +0000 |
commit | f57c944e09417edcbcd69f2b01b937cadef39db2 (patch) | |
tree | a55822621d54bd82c54e272fa986e45698fea0f1 /coreutils/test.c | |
parent | 7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff) | |
download | busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.bz2 busybox-w32-f57c944e09417edcbcd69f2b01b937cadef39db2.zip |
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
Diffstat (limited to 'coreutils/test.c')
-rw-r--r-- | coreutils/test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index acd6947d9..d1a0b6025 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -184,7 +184,7 @@ test_main(int argc, char** argv) | |||
184 | 184 | ||
185 | if (strcmp(applet_name, "[") == 0) { | 185 | if (strcmp(applet_name, "[") == 0) { |
186 | if (strcmp(argv[--argc], "]")) | 186 | if (strcmp(argv[--argc], "]")) |
187 | fatalError("missing ]\n"); | 187 | error_msg_and_die("missing ]\n"); |
188 | argv[argc] = NULL; | 188 | argv[argc] = NULL; |
189 | } | 189 | } |
190 | /* Implement special cases from POSIX.2, section 4.62.4 */ | 190 | /* Implement special cases from POSIX.2, section 4.62.4 */ |
@@ -233,9 +233,9 @@ syntax(op, msg) | |||
233 | char *msg; | 233 | char *msg; |
234 | { | 234 | { |
235 | if (op && *op) | 235 | if (op && *op) |
236 | fatalError("%s: %s\n", op, msg); | 236 | error_msg_and_die("%s: %s\n", op, msg); |
237 | else | 237 | else |
238 | fatalError("%s\n", msg); | 238 | error_msg_and_die("%s\n", msg); |
239 | } | 239 | } |
240 | 240 | ||
241 | static int | 241 | static int |
@@ -470,13 +470,13 @@ getn(s) | |||
470 | r = strtol(s, &p, 10); | 470 | r = strtol(s, &p, 10); |
471 | 471 | ||
472 | if (errno != 0) | 472 | if (errno != 0) |
473 | fatalError("%s: out of range\n", s); | 473 | error_msg_and_die("%s: out of range\n", s); |
474 | 474 | ||
475 | while (isspace(*p)) | 475 | while (isspace(*p)) |
476 | p++; | 476 | p++; |
477 | 477 | ||
478 | if (*p) | 478 | if (*p) |
479 | fatalError("%s: bad number\n", s); | 479 | error_msg_and_die("%s: bad number\n", s); |
480 | 480 | ||
481 | return (int) r; | 481 | return (int) r; |
482 | } | 482 | } |