]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cups-exec.c
More journald/asl logging bug fixes (STR #4661)
[thirdparty/cups.git] / scheduler / cups-exec.c
index 1111f7d07a8b5af6162eb2edddfbc8bb4b27ac3d..c774450568f31c1be9ef136c0e69d1c097fb0f87 100644 (file)
@@ -13,7 +13,7 @@
  *
  * Usage:
  *
- *     cups-exec /path/to/profile UID GID NICE /path/to/program argv0 argv1 ... argvN
+ *     cups-exec /path/to/profile [-u UID] [-g GID] [-n NICE] /path/to/program argv0 argv1 ... argvN
  */
 
 /*
@@ -24,6 +24,7 @@
 #include <cups/file.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <grp.h>
 #include <sys/stat.h>
 #ifdef HAVE_SANDBOX_H
 #  include <sandbox.h>