diff --git a/src/common/daemonize.c b/src/common/daemonize.c
index c1e95a73f34e8632a7f7b6e25c35ca763e58a24c..1e2fd06de87d042a7e141391f2d2f6beb61823cb 100644
--- a/src/common/daemonize.c
+++ b/src/common/daemonize.c
@@ -46,7 +46,7 @@ closeall(int fd)
 /* detach and go into background.
  * caller is responsible for umasks
  *
- * if chdir   != 0, will do a chdir to /
+ * if nochdir == 0, will do a chdir to /
  * if noclose == 0, will close all FDs
  */
 int