[ovs-dev] daemon.h: Fix compilation errors on Windows.
diff mbox

Message ID 1443715189-1393-1-git-send-email-gshetty@nicira.com
State Accepted
Headers show

Commit Message

Gurucharan Shetty Oct. 1, 2015, 3:59 p.m. UTC
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
---
 lib/daemon.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Ben Pfaff Oct. 1, 2015, 4:11 p.m. UTC | #1
On Thu, Oct 01, 2015 at 08:59:49AM -0700, Gurucharan Shetty wrote:
> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>

Acked-by: Ben Pfaff <blp@nicira.com>

Patch
diff mbox

diff --git a/lib/daemon.h b/lib/daemon.h
index cb663ca..4990415 100644
--- a/lib/daemon.h
+++ b/lib/daemon.h
@@ -90,8 +90,8 @@  pid_t read_pidfile(const char *name);
     OPT_PIDFILE,                               \
     OPT_PIPE_HANDLE,                           \
     OPT_SERVICE,                               \
-    OPT_SERVICE_MONITOR                        \
-    OPT_USER_GROUP                             \
+    OPT_SERVICE_MONITOR,                       \
+    OPT_USER_GROUP
 
 #define DAEMON_LONG_OPTIONS                                               \
         {"detach",             no_argument, NULL, OPT_DETACH},            \
@@ -99,7 +99,7 @@  pid_t read_pidfile(const char *name);
         {"pidfile",            optional_argument, NULL, OPT_PIDFILE},     \
         {"pipe-handle",        required_argument, NULL, OPT_PIPE_HANDLE}, \
         {"service",            no_argument, NULL, OPT_SERVICE},           \
-        {"service-monitor",    no_argument, NULL, OPT_SERVICE_MONITOR}    \
+        {"service-monitor",    no_argument, NULL, OPT_SERVICE_MONITOR},   \
         {"user",               required_argument, NULL, OPT_USER_GROUP}
 
 #define DAEMON_OPTION_HANDLERS                  \
@@ -124,7 +124,7 @@  pid_t read_pidfile(const char *name);
             break;                              \
                                                 \
         case OPT_USER_GROUP:                    \
-            daemon_set_new_user(optarg);        \
+            daemon_set_new_user(optarg);
 
 void control_handler(DWORD request);
 void set_pipe_handle(const char *pipe_handle);