diff options
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index d5d2645b51a7..d9e89ec90983 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
@@ -39,7 +39,8 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr); | |||
39 | print_hex_dump(l, ps, pt, r, g, b, len, a) | 39 | print_hex_dump(l, ps, pt, r, g, b, len, a) |
40 | 40 | ||
41 | #define ubi_dbg_msg(type, fmt, ...) \ | 41 | #define ubi_dbg_msg(type, fmt, ...) \ |
42 | pr_debug("UBI DBG " type ": " fmt "\n", ##__VA_ARGS__) | 42 | pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ |
43 | ##__VA_ARGS__) | ||
43 | 44 | ||
44 | /* Just a debugging messages not related to any specific UBI subsystem */ | 45 | /* Just a debugging messages not related to any specific UBI subsystem */ |
45 | #define dbg_msg(fmt, ...) \ | 46 | #define dbg_msg(fmt, ...) \ |