summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 586eed6)
raw | patch | inline | side by side (parent: 586eed6)
author | octo <octo> | |
Sun, 29 Jan 2006 22:04:58 +0000 (22:04 +0000) | ||
committer | octo <octo> | |
Sun, 29 Jan 2006 22:04:58 +0000 (22:04 +0000) |
src/df.c | patch | blob | history |
diff --git a/src/df.c b/src/df.c
index 69dc2994121ed2500b91a260f8e3f4c2e58455df..8cc9f2eb440615610ed13ca82eb2500e02a08469 100644 (file)
--- a/src/df.c
+++ b/src/df.c
# define DF_HAVE_READ 0
#endif
-#if HAVE_STATFS
-#define STATANYFS statfs
-#define BLOCKSIZE(s) (s).f_bsize
-
-#elif HAVE_STATVFS
-#define STATANYFS statvfs
-#define BLOCKSIZE(s) ((s).f_frsize ? (s).f_frsize : (s).f_bsize)
+#if HAVE_STATVFS
+# define STATANYFS statvfs
+# define BLOCKSIZE(s) ((s).f_frsize ? (s).f_frsize : (s).f_bsize)
+#elif HAVE_STATFS
+# define STATANYFS statfs
+# define BLOCKSIZE(s) (s).f_bsize
#endif
static char *filename_template = "df-%s.rrd";