drbd: Print memory address in hex instead of decimal in error message
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 15 Jul 2011 07:43:23 +0000 (09:43 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:55 +0000 (16:57 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c

index d4e677c9c764e75ef39d2a49fefb97c6c2e308ae..bfbc10352faa3e7640e739641cbeab39e178c90a 100644 (file)
@@ -1611,7 +1611,7 @@ find_request(struct drbd_conf *mdev, struct rb_root *root, u64 id,
        if (drbd_contains_interval(root, sector, &req->i) && req->i.local)
                return req;
        if (!missing_ok) {
-               dev_err(DEV, "%s: failed to find request %lu, sector %llus\n", func,
+               dev_err(DEV, "%s: failed to find request 0x%lx, sector %llus\n", func,
                        (unsigned long)id, (unsigned long long)sector);
        }
        return NULL;