From a61b94ad904ba144e5f3040bef59160a8b6f5fd9 Mon Sep 17 00:00:00 2001 From: Stephen Lord Date: Wed, 17 Sep 2003 00:34:24 -0500 Subject: [PATCH] [XFS] fix build for gcc 3.2 SGI Modid: 2.5.x-xfs:slinx:158511a --- fs/xfs/linux/xfs_stats.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fs/xfs/linux/xfs_stats.c b/fs/xfs/linux/xfs_stats.c index a3a6766a4758a..7aa7c500f7fa0 100644 --- a/fs/xfs/linux/xfs_stats.c +++ b/fs/xfs/linux/xfs_stats.c @@ -80,7 +80,12 @@ xfs_read_xfsstats( xfsstats.xs_xstrat_bytes, xfsstats.xs_write_bytes, xfsstats.xs_read_bytes); - len += sprintf(buffer + len, "debug %u\n", defined(XFSDEBUG)); + len += sprintf(buffer + len, "debug %u\n", +#if defined(XFSDEBUG) + 1); +#else + 0); +#endif if (offset >= len) { *start = buffer; -- 2.53.0