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 | 4b3445eae2d7564a4289afb2255dd4c60777519b (patch) | |
| tree | 44d585f648aef7ff51a34121051a7bfabe84de69 /pw/grupd.c | |
| parent | 6d8540bb6ceb61f56a116c62fba48287e24bbb65 (diff) | |
| download | pw-darwin-4b3445eae2d7564a4289afb2255dd4c60777519b.tar.gz pw-darwin-4b3445eae2d7564a4289afb2255dd4c60777519b.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 |
