Commit a61b94ad authored by Stephen Lord's avatar Stephen Lord Committed by Stephen Lord

[XFS] fix build for gcc 3.2

SGI Modid: 2.5.x-xfs:slinx:158511a
parent 0af1998d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment