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 /ls.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 'ls.c')
-rw-r--r-- | ls.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -181,7 +181,7 @@ static int my_stat(struct dnode *cur) | |||
181 | #ifdef BB_FEATURE_LS_FOLLOWLINKS | 181 | #ifdef BB_FEATURE_LS_FOLLOWLINKS |
182 | if (follow_links == TRUE) { | 182 | if (follow_links == TRUE) { |
183 | if (stat(cur->fullname, &cur->dstat)) { | 183 | if (stat(cur->fullname, &cur->dstat)) { |
184 | errorMsg("%s: %s\n", cur->fullname, strerror(errno)); | 184 | error_msg("%s: %s\n", cur->fullname, strerror(errno)); |
185 | status = EXIT_FAILURE; | 185 | status = EXIT_FAILURE; |
186 | free(cur->fullname); | 186 | free(cur->fullname); |
187 | free(cur); | 187 | free(cur); |
@@ -190,7 +190,7 @@ static int my_stat(struct dnode *cur) | |||
190 | } else | 190 | } else |
191 | #endif | 191 | #endif |
192 | if (lstat(cur->fullname, &cur->dstat)) { | 192 | if (lstat(cur->fullname, &cur->dstat)) { |
193 | errorMsg("%s: %s\n", cur->fullname, strerror(errno)); | 193 | error_msg("%s: %s\n", cur->fullname, strerror(errno)); |
194 | status = EXIT_FAILURE; | 194 | status = EXIT_FAILURE; |
195 | free(cur->fullname); | 195 | free(cur->fullname); |
196 | free(cur); | 196 | free(cur); |
@@ -511,7 +511,7 @@ struct dnode **list_dir(char *path) | |||
511 | nfiles= 0; | 511 | nfiles= 0; |
512 | dir = opendir(path); | 512 | dir = opendir(path); |
513 | if (dir == NULL) { | 513 | if (dir == NULL) { |
514 | errorMsg("%s: %s\n", path, strerror(errno)); | 514 | error_msg("%s: %s\n", path, strerror(errno)); |
515 | status = EXIT_FAILURE; | 515 | status = EXIT_FAILURE; |
516 | return(NULL); /* could not open the dir */ | 516 | return(NULL); /* could not open the dir */ |
517 | } | 517 | } |
@@ -591,7 +591,7 @@ int list_single(struct dnode *dn) | |||
591 | column += 5; | 591 | column += 5; |
592 | break; | 592 | break; |
593 | case LIST_MODEBITS: | 593 | case LIST_MODEBITS: |
594 | fprintf(stdout, "%10s", (char *)modeString(dn->dstat.st_mode)); | 594 | fprintf(stdout, "%10s", (char *)mode_string(dn->dstat.st_mode)); |
595 | column += 10; | 595 | column += 10; |
596 | break; | 596 | break; |
597 | case LIST_NLINKS: | 597 | case LIST_NLINKS: |