Date: Sat, 1 Mar 2008 18:26:54 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 136590 for review Message-ID: <200803011826.m21IQsFB060317@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136590 Change 136590 by csjp@ibm01 on 2008/03/01 18:26:01 Some cosmetic nits Affected files ... .. //depot/projects/trustedbsd/netauditd/netauditd.c#12 edit Differences ... ==== //depot/projects/trustedbsd/netauditd/netauditd.c#12 (text+ko) ==== @@ -160,7 +160,7 @@ } void -netaudit_run() +netaudit_run(void) { fd_set rfds; struct timeval tv; @@ -229,7 +229,7 @@ } void -netaudit_establish() +netaudit_establish(void) { struct au_cmpnt *au; @@ -268,7 +268,7 @@ } void -netaudit_oq() +netaudit_oq(void) { struct au_cmpnt *au; struct au_queue_ent *q, *tmpr; @@ -378,7 +378,7 @@ exit(2); new->sb_fd = accept(au->ac_fd, new->sb_sockaddr, &new->sb_socklen); if (new->sb_fd == -1) { - if ((errno == EWOULDBLOCK) || (errno == ECONNABORTED)) { + if (errno == EWOULDBLOCK || errno == ECONNABORTED) { free(new->sb_sockaddr); free(new); return; @@ -486,8 +486,9 @@ } void -usage() +usage(void) { + (void) fputs("usage: netauditd [-Ddh] [-f path]\n", stderr); exit(1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011826.m21IQsFB060317>