From: Guolin Yang <gy...@nicira.com> In monitor_daemon(), it set subprogram_name to "" which causes system crash in some platform. This change set subprogram name to program name.
Signed-off-by: Guolin Yang <gy...@nicira.com> --- lib/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.c b/lib/daemon.c index 1c9ebe2..35b087a 100644 --- a/lib/daemon.c +++ b/lib/daemon.c @@ -469,7 +469,7 @@ monitor_daemon(pid_t daemon_pid) /* Running in new daemon process. */ proctitle_restore(); - set_subprogram_name(""); + set_subprogram_name(program_name); } /* Close standard file descriptors (except any that the client has requested we -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev