summaryrefslogtreecommitdiff
path: root/df.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
committerMark Whitley <markw@lineo.com>2000-12-07 19:56:48 +0000
commitf57c944e09417edcbcd69f2b01b937cadef39db2 (patch)
treea55822621d54bd82c54e272fa986e45698fea0f1 /df.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-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 'df.c')
-rw-r--r--df.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/df.c b/df.c
index 969a5b982..dc4849049 100644
--- a/df.c
+++ b/df.c
@@ -36,7 +36,7 @@ static int df(char *device, const char *mountPoint)
36 long blocks_percent_used; 36 long blocks_percent_used;
37 37
38 if (statfs(mountPoint, &s) != 0) { 38 if (statfs(mountPoint, &s) != 0) {
39 perrorMsg("%s", mountPoint); 39 perror_msg("%s", mountPoint);
40 return FALSE; 40 return FALSE;
41 } 41 }
42 42
@@ -75,8 +75,8 @@ extern int df_main(int argc, char **argv)
75 usage(df_usage); 75 usage(df_usage);
76 } 76 }
77 while (argc > 1) { 77 while (argc > 1) {
78 if ((mountEntry = findMountPoint(argv[1], mtab_file)) == 0) { 78 if ((mountEntry = find_mount_point(argv[1], mtab_file)) == 0) {
79 errorMsg("%s: can't find mount point.\n", argv[1]); 79 error_msg("%s: can't find mount point.\n", argv[1]);
80 status = EXIT_FAILURE; 80 status = EXIT_FAILURE;
81 } else if (!df(mountEntry->mnt_fsname, mountEntry->mnt_dir)) 81 } else if (!df(mountEntry->mnt_fsname, mountEntry->mnt_dir))
82 status = EXIT_FAILURE; 82 status = EXIT_FAILURE;
@@ -89,7 +89,7 @@ extern int df_main(int argc, char **argv)
89 89
90 mountTable = setmntent(mtab_file, "r"); 90 mountTable = setmntent(mtab_file, "r");
91 if (mountTable == 0) { 91 if (mountTable == 0) {
92 perrorMsg("%s", mtab_file); 92 perror_msg("%s", mtab_file);
93 return EXIT_FAILURE; 93 return EXIT_FAILURE;
94 } 94 }
95 95