summaryrefslogtreecommitdiff
path: root/lib/daemon-unix.c
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2015-03-16 12:01:55 -0400
committerBen Pfaff <blp@nicira.com>2015-03-16 13:42:52 -0700
commit5f38375100dd1001c60b31aeb519d15b3b342d1b (patch)
tree5e3d16beaca5dfa317a918e3624b18a6b143d44f /lib/daemon-unix.c
parent9e0fa1f23861fc917b5b56bbee6864ba7f1b8756 (diff)
downloadopenvswitch-5f38375100dd1001c60b31aeb519d15b3b342d1b.tar.gz
command-line: add ovs_cmdl_ prefix
The coding style guidelines include the following: - Pick a unique name prefix (ending with an underscore) for each module, and apply that prefix to all of that module's externally visible names. Names of macro parameters, struct and union members, and parameters in function prototypes are not considered externally visible for this purpose. This patch adds the new prefix to the externally visible names. This makes it a bit more obvious what code is coming from common command line handling code. Signed-off-by: Russell Bryant <rbryant@redhat.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/daemon-unix.c')
-rw-r--r--lib/daemon-unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/daemon-unix.c b/lib/daemon-unix.c
index 3b24fca83..eb95521b4 100644
--- a/lib/daemon-unix.c
+++ b/lib/daemon-unix.c
@@ -332,8 +332,8 @@ monitor_daemon(pid_t daemon_pid)
int retval;
int status;
- proctitle_set("monitoring pid %lu (%s)",
- (unsigned long int) daemon_pid, status_msg);
+ ovs_cmdl_proctitle_set("monitoring pid %lu (%s)",
+ (unsigned long int) daemon_pid, status_msg);
if (child_ready) {
do {
@@ -399,7 +399,7 @@ monitor_daemon(pid_t daemon_pid)
free(status_msg);
/* Running in new daemon process. */
- proctitle_restore();
+ ovs_cmdl_proctitle_restore();
set_subprogram_name("");
}