diff options
author | Mark Whitley | 2000-12-07 19:56:48 +0000 |
---|---|---|
committer | Mark Whitley | 2000-12-07 19:56:48 +0000 |
commit | f57c944e09417edcbcd69f2b01b937cadef39db2 (patch) | |
tree | a55822621d54bd82c54e272fa986e45698fea0f1 /coreutils/rm.c | |
parent | 7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff) | |
download | busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.zip busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz |
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/rm.c')
-rw-r--r-- | coreutils/rm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c index 5663351..a9501ec 100644 --- a/coreutils/rm.c +++ b/coreutils/rm.c @@ -37,7 +37,7 @@ static const char *srcName; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { if (unlink(fileName) < 0) { - perrorMsg("%s", fileName); + perror_msg("%s", fileName); return (FALSE); } return (TRUE); @@ -47,11 +47,11 @@ static int dirAction(const char *fileName, struct stat *statbuf, void* junk) { if (recursiveFlag == FALSE) { errno = EISDIR; - perrorMsg("%s", fileName); + perror_msg("%s", fileName); return (FALSE); } if (rmdir(fileName) < 0) { - perrorMsg("%s", fileName); + perror_msg("%s", fileName); return (FALSE); } return (TRUE); @@ -101,7 +101,7 @@ extern int rm_main(int argc, char **argv) && errno == ENOENT) { /* do not reports errors for non-existent files if -f, just skip them */ } else { - if (recursiveAction(srcName, recursiveFlag, FALSE, + if (recursive_action(srcName, recursiveFlag, FALSE, TRUE, fileAction, dirAction, NULL) == FALSE) { status = EXIT_FAILURE; } |