X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/fee8e0724b96f65b1c5b143b33b4a00b4b3c92f7..6c44b45a754c8db5307554ea1624fcdde7ea128a:/pw/grupd.c diff --git a/pw/grupd.c b/pw/grupd.c index a2a0282..edff76d 100644 --- a/pw/grupd.c +++ b/pw/grupd.c @@ -134,7 +134,7 @@ gr_update(struct group * grp, char const * group, int mode) char *grbuf = NULL; ENDGRENT(); - snprintf(pfx, sizeof pfx, "%s:", group); + l = snprintf(pfx, sizeof pfx, "%s:", group); /* * Update the group file