mirror of
https://github.com/openvswitch/ovs
synced 2025-10-27 15:18:06 +00:00
lib: Move addition of program_name to proctitle_set
Signed-off-by: Ed Maste <emaste@adaranet.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -385,9 +385,8 @@ monitor_daemon(pid_t daemon_pid)
|
||||
int retval;
|
||||
int status;
|
||||
|
||||
proctitle_set("%s: monitoring pid %lu (%s)",
|
||||
program_name, (unsigned long int) daemon_pid,
|
||||
status_msg);
|
||||
proctitle_set("monitoring pid %lu (%s)",
|
||||
(unsigned long int) daemon_pid, status_msg);
|
||||
|
||||
do {
|
||||
retval = waitpid(daemon_pid, &status, 0);
|
||||
|
||||
Reference in New Issue
Block a user