Skip to content

Commit

Permalink
[SCSI] fcoe: Add format spacing to FCOE_NETDEV_DBG debug macro
Browse files Browse the repository at this point in the history
There's currently no space between the interface name and the
user specified format/string. This patch adds a space and a colon
to the output to separate the interface name and the user
specified string.

So, instead of "ethXfoo" it will read "ethX: foo".

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Robert Love authored and James Bottomley committed Sep 5, 2009
1 parent 70b31c1 commit ee610c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/fcoe/fcoe.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ do { \

#define FCOE_NETDEV_DBG(netdev, fmt, args...) \
FCOE_CHECK_LOGGING(FCOE_NETDEV_LOGGING, \
printk(KERN_INFO "fcoe: %s" fmt, \
printk(KERN_INFO "fcoe: %s: " fmt, \
netdev->name, ##args);)

/*
Expand Down

0 comments on commit ee610c6

Please sign in to comment.