Removed trailing \n from error_msg{,_and_die} messages.
diff --git a/procps/kill.c b/procps/kill.c
index 3eb829a..00a4d5c 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -223,7 +223,7 @@
pidList = find_pid_by_name( *argv);
if (!pidList) {
all_found = FALSE;
- error_msg( "%s: no process killed\n", *argv);
+ error_msg( "%s: no process killed", *argv);
}
for(; pidList && *pidList!=0; pidList++) {
@@ -246,5 +246,5 @@
end:
- error_msg_and_die( "bad signal name: %s\n", *argv);
+ error_msg_and_die( "bad signal name: %s", *argv);
}