summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Daemon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon.cxx b/src/Daemon.cxx
index 4f214517e..088e7926d 100644
--- a/src/Daemon.cxx
+++ b/src/Daemon.cxx
@@ -52,7 +52,7 @@ static char *user_name;
static uid_t user_uid = (uid_t)-1;
/** the Unix group id which MPD runs as */
-static gid_t user_gid = (pid_t)-1;
+static gid_t user_gid = (gid_t)-1;
/** the absolute path of the pidfile */
static AllocatedPath pidfile = AllocatedPath::Null();