summaryrefslogtreecommitdiff
path: root/server/tools
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/sss_groupadd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/sss_groupadd.c b/server/tools/sss_groupadd.c
index d0559716..6dde7ae8 100644
--- a/server/tools/sss_groupadd.c
+++ b/server/tools/sss_groupadd.c
@@ -77,7 +77,7 @@ static void add_group(struct sysdb_req *req, void *pvt)
int main(int argc, const char **argv)
{
- gid_t pc_gid;
+ gid_t pc_gid = 0;
struct poptOption long_options[] = {
POPT_AUTOHELP
{ "gid", 'g', POPT_ARG_INT, &pc_gid, 0, "The GID of the group", NULL },