Source-Changes-HG archive

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

[src/trunk]: src/sys Remove an erroneous semicolon.



details:   https://anonhg.NetBSD.org/src/rev/8873fbfa817e
branches:  trunk
changeset: 574272:8873fbfa817e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Feb 26 12:03:15 2005 +0000

description:
Remove an erroneous semicolon.

diffstat:

 sys/compat/irix/irix_prctl.c |  6 +++---
 sys/dev/i2o/iopl.c           |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r a67f4fad3bf2 -r 8873fbfa817e sys/compat/irix/irix_prctl.c
--- a/sys/compat/irix/irix_prctl.c      Sat Feb 26 12:00:52 2005 +0000
+++ b/sys/compat/irix/irix_prctl.c      Sat Feb 26 12:03:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: irix_prctl.c,v 1.24 2004/10/27 19:29:57 david Exp $ */
+/*     $NetBSD: irix_prctl.c,v 1.25 2005/02/26 12:03:15 simonb Exp $ */
 
 /*-
  * Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: irix_prctl.c,v 1.24 2004/10/27 19:29:57 david Exp $");
+__KERNEL_RCSID(0, "$NetBSD: irix_prctl.c,v 1.25 2005/02/26 12:03:15 simonb Exp $");
 
 #include <sys/errno.h>
 #include <sys/types.h>
@@ -125,7 +125,7 @@
                        shmask |= IRIX_PR_SADDR;
                if (p->p_fd == p2->p_fd)
                        shmask |= IRIX_PR_SFDS;
-               if (p->p_cwdi == p2->p_cwdi);
+               if (p->p_cwdi == p2->p_cwdi)
                        shmask |= (IRIX_PR_SDIR|IRIX_PR_SUMASK);
 
                *retval = (register_t)shmask;
diff -r a67f4fad3bf2 -r 8873fbfa817e sys/dev/i2o/iopl.c
--- a/sys/dev/i2o/iopl.c        Sat Feb 26 12:00:52 2005 +0000
+++ b/sys/dev/i2o/iopl.c        Sat Feb 26 12:03:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iopl.c,v 1.15 2005/01/31 02:51:17 thorpej Exp $        */
+/*     $NetBSD: iopl.c,v 1.16 2005/02/26 12:12:10 simonb Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iopl.c,v 1.15 2005/01/31 02:51:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iopl.c,v 1.16 2005/02/26 12:12:10 simonb Exp $");
 
 #include "opt_i2o.h"
 #include "opt_inet.h"
@@ -341,7 +341,7 @@
         */
        rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_LAN_TRANSMIT_INFO,
            &param, sizeof(param), NULL);
-       if (rv != 0);
+       if (rv != 0)
                return;
 
        tmp = le32toh(param.p.ti.txmodes);



Home | Main Index | Thread Index | Old Index