]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] Add cast for printk
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jul 2006 17:14:59 +0000 (13:14 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 5 Jul 2006 17:14:59 +0000 (13:14 -0400)
Cast a uint64_t to unsigned long long for a printk.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c

index 483d4fa987f64d03126faeaa79c8265dbc690e1a..1596e9436c42022802f850ecac145155671ecb62 100644 (file)
@@ -214,7 +214,7 @@ static uint64_t log_bmap(struct gfs2_sbd *sdp, unsigned int lbn)
 
        error = gfs2_block_map(sdp->sd_jdesc->jd_inode, lbn, &new, &dbn, &bdy);
        if (!(!error && dbn)) {
-               printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, dbn, lbn);
+               printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, (unsigned long long)dbn, lbn);
        }
        gfs2_assert_withdraw(sdp, !error && dbn);