]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/dirsvc.c
Import CUPS 1.4svn-r7153.
[thirdparty/cups.git] / scheduler / dirsvc.c
index 5303bf898ff7ba60486815475af9df503f3f6ff8..f0269e67ff9de670d2f09c75f2156b1cd8387120 100644 (file)
@@ -1248,7 +1248,7 @@ cupsdStartPolling(void)
     argv[1] = pollp->hostname;
 
     if (cupsdStartProcess(polld, argv, envp, -1, -1, statusfds[1], -1, -1,
-                          0, &(pollp->pid)) < 0)
+                          0, DefaultProfile, &(pollp->pid)) < 0)
     {
       cupsdLogMessage(CUPSD_LOG_ERROR,
                       "cupsdStartPolling: Unable to fork polling daemon - %s",
@@ -3900,7 +3900,8 @@ update_lpd(int onoff)                     /* - 1 = turn on, 0 = turn off */
     argv[3] = LPDConfigFile + 10;
     argv[4] = NULL;
 
-    cupsdStartProcess("/bin/launchctl", argv, envp, -1, -1, -1, -1, -1, 1, &pid);
+    cupsdStartProcess("/bin/launchctl", argv, envp, -1, -1, -1, -1, -1, 1,
+                      NULL, &pid);
   }
 }
 
@@ -4015,7 +4016,8 @@ update_smb(int onoff)                     /* I - 1 = turn on, 0 = turn off */
     argv[3] = SMBConfigFile + 10;
     argv[4] = NULL;
 
-    cupsdStartProcess("/bin/launchctl", argv, envp, -1, -1, -1, -1, -1, 1, &pid);
+    cupsdStartProcess("/bin/launchctl", argv, envp, -1, -1, -1, -1, -1, 1,
+                      NULL, &pid);
   }
 }