diff options
author | Jaakko Heinonen <jh@FreeBSD.org> | 2011-12-21 17:03:30 +0000 |
---|---|---|
committer | Jaakko Heinonen <jh@FreeBSD.org> | 2011-12-21 17:03:30 +0000 |
commit | c5a0813d43ab213aba5bfbf8ad2a3bbd04c7f2c7 (patch) | |
tree | 9ca9cafde4422dea78bb1eabdab985ca709f09ee /share/man/man9/sbuf.9 | |
parent | 6f7651b9b611b2e5283f69a633f047f4ab9ea7e0 (diff) | |
download | src-test2-c5a0813d43ab213aba5bfbf8ad2a3bbd04c7f2c7.tar.gz src-test2-c5a0813d43ab213aba5bfbf8ad2a3bbd04c7f2c7.zip |
Notes
Diffstat (limited to 'share/man/man9/sbuf.9')
-rw-r--r-- | share/man/man9/sbuf.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index 4ee05f439f6a..7336c42d80e3 100644 --- a/share/man/man9/sbuf.9 +++ b/share/man/man9/sbuf.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 9, 2011 +.Dd December 21, 2011 .Dt SBUF 9 .Os .Sh NAME @@ -495,8 +495,8 @@ TAILQ_FOREACH(foo, &foolist, list) { sbuf_printf(sb, " Address: %s\en", foo->address); sbuf_printf(sb, " Zip: %s\en", foo->zipcode); } -if (sbuf_finish(sb)) /* Check for any and all errors */ - err(1,"Could not generate message"); +if (sbuf_finish(sb) != 0) /* Check for any and all errors */ + err(1, "Could not generate message"); transmit_msg(sbuf_data(sb), sbuf_len(sb)); sbuf_delete(sb); .Ed |