summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 17:59:54 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 17:59:54 +0000
commit637eeea9bda0c8100b8e15041f50d121d972a472 (patch)
tree30f7ae19b2efdc7edd0a934b8a83f387d12b8006 /src/df.c
parentd8c14fc15e0dc083e54fa81ae636f0e3b74af676 (diff)
downloadcoreutils-637eeea9bda0c8100b8e15041f50d121d972a472.tar.xz
(find_mount_point, show_point): Use NULL, not `0'.
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/df.c b/src/df.c
index c26144cfe..176f89b89 100644
--- a/src/df.c
+++ b/src/df.c
@@ -1,5 +1,5 @@
/* df - summarize free disk space
- Copyright (C) 91, 1995-2004 Free Software Foundation, Inc.
+ Copyright (C) 91, 1995-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -438,7 +438,7 @@ find_mount_point (const char *file, const struct stat *file_stat)
{
struct saved_cwd cwd;
struct stat last_stat;
- char *mp = 0; /* The malloced mount point path. */
+ char *mp = NULL; /* The malloced mount point path. */
if (save_cwd (&cwd) != 0)
{
@@ -642,7 +642,7 @@ show_point (const char *point, const struct stat *statp)
char *mp = find_mount_point (point, statp);
if (mp)
{
- show_dev (0, mp, 0, false, false);
+ show_dev (NULL, mp, NULL, false, false);
free (mp);
}
}