xfs
[Top] [All Lists]

[PATCH] clean up printk formats with DMAPI_DEBUG

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] clean up printk formats with DMAPI_DEBUG
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 25 Oct 2008 08:14:25 -0500
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
Trivial cleanup of formats.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

Index: linux-2.6-xfs/fs/xfs/dmapi/xfs_dm.c
===================================================================
--- linux-2.6-xfs.orig/fs/xfs/dmapi/xfs_dm.c
+++ linux-2.6-xfs/fs/xfs/dmapi/xfs_dm.c
@@ -2334,8 +2334,8 @@ xfs_dm_round_hole(
                        return -EINVAL; /* requested length is too small */
        }
 #ifdef CONFIG_DMAPI_DEBUG
-       printk("xfs_dm_round_hole: off %lu, len %ld, align %lu, "
-              "filesize %llu, roff %ld, rlen %ld\n",
+       printk("xfs_dm_round_hole: off %lld, len %llu, align %llu, "
+              "filesize %lld, roff %lld, rlen %llu\n",
               offset, length, align, filesize, *roff, *rlen);
 #endif
        return 0; /* hole geometry successfully rounded */
@@ -2467,7 +2467,7 @@ xfs_dm_punch_hole(
        }
 
 #ifdef CONFIG_DMAPI_DEBUG
-       printk("xfs_dm_punch_hole: off %lu, len %ld, align %lu\n",
+       printk("xfs_dm_punch_hole: off %lld, len %llu, align %llu\n",
                off, len, align);
 #endif
 


<Prev in Thread] Current Thread [Next in Thread>