Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mtrace more consistent indentation



details:   https://anonhg.NetBSD.org/src/rev/13f2237685d8
branches:  trunk
changeset: 535041:13f2237685d8
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Aug 09 02:09:01 2002 +0000

description:
more consistent indentation

diffstat:

 usr.sbin/mtrace/mtrace.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 14f33b03fa1d -r 13f2237685d8 usr.sbin/mtrace/mtrace.c
--- a/usr.sbin/mtrace/mtrace.c  Fri Aug 09 02:04:03 2002 +0000
+++ b/usr.sbin/mtrace/mtrace.c  Fri Aug 09 02:09:01 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mtrace.c,v 1.21 2002/08/09 02:04:03 itojun Exp $       */
+/*     $NetBSD: mtrace.c,v 1.22 2002/08/09 02:09:01 itojun Exp $       */
 
 /*
  * mtrace.c
@@ -52,7 +52,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mtrace.c,v 1.21 2002/08/09 02:04:03 itojun Exp $");
+__RCSID("$NetBSD: mtrace.c,v 1.22 2002/08/09 02:09:01 itojun Exp $");
 #endif
 
 #include <sys/types.h>
@@ -464,7 +464,7 @@
        while (TRUE) {
            FD_ZERO(&fds);
            if (igmp_socket >= FD_SETSIZE)
-                   log(LOG_ERR, 0, "descriptor too big");
+               log(LOG_ERR, 0, "descriptor too big");
            FD_SET(igmp_socket, &fds);
            gettimeofday(&tv, 0);
            tv.tv_sec = tq.tv_sec + timeout - tv.tv_sec;
@@ -1689,7 +1689,8 @@
        case 1: if (severity > LOG_NOTICE) return;
        case 2: if (severity > LOG_INFO  ) return;
        default:
-           if (severity == LOG_WARNING) fprintf(stderr, "warning - ");
+           if (severity == LOG_WARNING)
+               fprintf(stderr, "warning - ");
            va_start(ap, format);
            vfprintf(stderr, format, ap);
            va_end(ap);



Home | Main Index | Thread Index | Old Index