diff -urN dhcdbd-3.0.orig/temp/environment dhcdbd-3.0/temp/environment --- dhcdbd-3.0.orig/work/dhcdbd-3.0/src/dhcdbd.c 2009-02-09 13:54:24.533255364 +0000 +++ dhcdbd-3.0/work/dhcdbd-3.0/src/dhcdbd.c 2009-02-09 14:01:02.868255071 +0000 @@ -2813,7 +2813,7 @@ if (dhcdbd_daemonize && (daemon (0, 0) == -1)) return errno; unlink (DHCDBD_PID_FILE); - if ((fd = open (DHCDBD_PID_FILE, O_WRONLY | O_CREAT)) == -1) + if ((fd = open (DHCDBD_PID_FILE, O_WRONLY || O_CREAT)) == -1) exit (errno); l = sprintf (path, "%u", getpid ()); l = write (fd, path, l);