misc: correct additional errors from merge request #13
Additional errors resulting from merge request #13 are being addressed in this commit. They involve two cases of trailing whitespace and one xwarnx printf type arg. Reference(s): http://gitorious.org/procps/procps/merge_requests/13 . earlier build-sys fix commite2242cb943
. original merge commitdd6f24dbed
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
e2242cb943
commit
e6bbcdb492
2
skill.c
2
skill.c
@ -640,7 +640,7 @@ static void skillsnice_parse(int argc,
|
|||||||
case NS_OPTION:
|
case NS_OPTION:
|
||||||
ns_pid = atoi(optarg);
|
ns_pid = atoi(optarg);
|
||||||
if (ns_pid == 0) {
|
if (ns_pid == 0) {
|
||||||
xwarnx(_("invalid pid number %i"), optarg);
|
xwarnx(_("invalid pid number %s"), optarg);
|
||||||
kill_usage(stderr);
|
kill_usage(stderr);
|
||||||
}
|
}
|
||||||
if (ns_read(ns_pid, &ns_task)) {
|
if (ns_read(ns_pid, &ns_task)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user