diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-08-20 13:24:39 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-08-20 13:24:39 +0000 |
commit | fee8e0724b96f65b1c5b143b33b4a00b4b3c92f7 (patch) | |
tree | 4af397f2f84ab2ab76a79d251069b1b105a455e0 /pw/grupd.c | |
parent | 33f0d61904154e94936202cc7c56f3ae19e0939a (diff) | |
download | pw-darwin-fee8e0724b96f65b1c5b143b33b4a00b4b3c92f7.tar.gz pw-darwin-fee8e0724b96f65b1c5b143b33b4a00b4b3c92f7.tar.zst pw-darwin-fee8e0724b96f65b1c5b143b33b4a00b4b3c92f7.zip |
Handle snprintf() returning -1.
MFC after: 2 weeks
Diffstat (limited to 'pw/grupd.c')
-rw-r--r-- | pw/grupd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ gr_update(struct group * grp, char const * group, int mode) char *grbuf = NULL; ENDGRENT(); - l = snprintf(pfx, sizeof pfx, "%s:", group); + snprintf(pfx, sizeof pfx, "%s:", group); /* * Update the group file |