X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=lib%2Fnlattr.c;h=9c3e85ff0a6c56e8923263f7aa75b3701d4fc5d5;hb=6675ef212dac43ae8474ae690e943c83449046b4;hp=0c5778752aec6a9855e5c150c7423add1ce844b2;hpb=2732ea9e8528ec3d065e04ecd357f61eec4869a8;p=cascardo%2Flinux.git diff --git a/lib/nlattr.c b/lib/nlattr.c index 0c5778752aec..9c3e85ff0a6c 100644 --- a/lib/nlattr.c +++ b/lib/nlattr.c @@ -203,8 +203,8 @@ int nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, } if (unlikely(rem > 0)) - printk(KERN_WARNING "netlink: %d bytes leftover after parsing " - "attributes.\n", rem); + pr_warn_ratelimited("netlink: %d bytes leftover after parsing attributes in process `%s'.\n", + rem, current->comm); err = 0; errout: