aboutsummaryrefslogtreecommitdiff
path: root/coreutils/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 /coreutils/df.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-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/df.c')
-rw-r--r--coreutils/df.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 969a5b982..dc4849049 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -36,7 +36,7 @@ static int df(char *device, const char *mountPoint)
long blocks_percent_used;
if (statfs(mountPoint, &s) != 0) {
- perrorMsg("%s", mountPoint);
+ perror_msg("%s", mountPoint);
return FALSE;
}
@@ -75,8 +75,8 @@ extern int df_main(int argc, char **argv)
usage(df_usage);
}
while (argc > 1) {
- if ((mountEntry = findMountPoint(argv[1], mtab_file)) == 0) {
- errorMsg("%s: can't find mount point.\n", argv[1]);
+ if ((mountEntry = find_mount_point(argv[1], mtab_file)) == 0) {
+ error_msg("%s: can't find mount point.\n", argv[1]);
status = EXIT_FAILURE;
} else if (!df(mountEntry->mnt_fsname, mountEntry->mnt_dir))
status = EXIT_FAILURE;
@@ -89,7 +89,7 @@ extern int df_main(int argc, char **argv)
mountTable = setmntent(mtab_file, "r");
if (mountTable == 0) {
- perrorMsg("%s", mtab_file);
+ perror_msg("%s", mtab_file);
return EXIT_FAILURE;
}