summaryrefslogtreecommitdiffstats
path: root/pw/grupd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/grupd.c')
-rw-r--r--pw/grupd.c2
1 files changed, 1 insertions, 1 deletions
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