diff options
author | Balbir Singh <balbir@in.ibm.com> | 2006-10-01 08:28:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 09:39:29 +0200 |
commit | 7d1bdca9b06acb3df07329eaff72d5eaf1543287 (patch) | |
tree | 1e5b706964002cc6bfc42bc34f9be7f85382fb84 /arch/sh | |
parent | [PATCH] Fix taskstats size calculation (use the new genetlink utility functions) (diff) | |
download | linux-7d1bdca9b06acb3df07329eaff72d5eaf1543287.tar.xz linux-7d1bdca9b06acb3df07329eaff72d5eaf1543287.zip |
[PATCH] Fix getdelays.c - cpumask length and error reporting
Fix the length passed while (un)registering cpumask. We were passing sizeof
the array, make it strlen().
Error value printed in fatal errors should be derived from the message. The
message contains an nlmsgerr embedded with an error value. We must report
that value to the user.
Signed-off-by: Balbir Singh <balbir@in.ibm.com>
Cc: Jamal Hadi <hadi@cyberus.ca>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Thomas Graf <tgraf@suug.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jay Lan <jlan@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions