diff options
author | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
commit | 14d342e696e1f58935e230c2b5bda26daa36cda0 (patch) | |
tree | 73e0e9a6ac1b2542326d644b2e9f7611a6f6a810 /usr.sbin/ppp/log.c | |
parent | e2cdbfbbb2fff725814c29bd10d948ba15f8240e (diff) | |
download | FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.zip FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.tar.gz |
Cosmetic (style):
sizeof(var) -> sizeof var
sizeof type -> sizeof(type)
Suggested by: J Wunsch <j@uriah.heep.sax.de>
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r-- | usr.sbin/ppp/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/log.c b/usr.sbin/ppp/log.c index 26ded8a..65bb26b 100644 --- a/usr.sbin/ppp/log.c +++ b/usr.sbin/ppp/log.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: log.c,v 1.23 1997/12/21 12:11:07 brian Exp $ */ #include <sys/param.h> @@ -237,7 +237,7 @@ LogDumpBuff(int lev, const char *hdr, const u_char * ptr, int n) LogPrintf(lev, "%s\n", hdr); while (n > 0) { b = buf; - for (b = buf; b != buf + sizeof(buf) - 2 && n--; b += 3) + for (b = buf; b != buf + sizeof buf - 2 && n--; b += 3) sprintf(b, " %02x", (int) *ptr++); strcpy(b, "\n"); LogPrintf(lev, buf); |