From 86fb879a0de9de08f2cb1a97789e0a5542a48043 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 24 Nov 2009 11:00:37 +1100 Subject: [PATCH] skill: add CR to warning line A patch from Debian. Bug-Debian: http://bugs.debian.org/331419 Bug-Debian: http://bugs.debian.org/331419 Backported-by: Sami Kerola --- skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skill.c b/skill.c index 1aa1a54d..c0afe18a 100644 --- a/skill.c +++ b/skill.c @@ -127,7 +127,7 @@ static void check_proc(int pid){ sprintf(buf, "/proc/%d/stat", pid); /* pid (cmd) state ppid pgrp session tty */ fd = open(buf,O_RDONLY); if(fd==-1){ /* process exited maybe */ - if(pids && w_flag) printf("WARNING: process %d could not be found.",pid); + if(pids && w_flag) printf("WARNING: process %d could not be found.\n",pid); return; } fstat(fd, &statbuf); @@ -340,7 +340,7 @@ static void skillsnice_usage(void){ }else{ fprintf(stderr, "Usage: snice [new priority] [options] process selection criteria\n" - "Example: snice netscape crack +7\n" + "Example: snice +7 netscape crack\n" "\n" "The default priority is +4. (snice +4 ...)\n" "Priority numbers range from +20 (slowest) to -20 (fastest).\n"