Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/dev Invert test of EPASSTHROUGH. Problem rep...



details:   https://anonhg.NetBSD.org/src/rev/bc0650295c19
branches:  trunk
changeset: 533633:bc0650295c19
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Fri Jul 05 23:43:28 2002 +0000

description:
Invert test of EPASSTHROUGH.  Problem reported by
Bernd Sieker <bsieker%freenet.de@localhost>.

diffstat:

 sys/arch/hp300/dev/ite.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d281c5f1a980 -r bc0650295c19 sys/arch/hp300/dev/ite.c
--- a/sys/arch/hp300/dev/ite.c  Fri Jul 05 18:45:15 2002 +0000
+++ b/sys/arch/hp300/dev/ite.c  Fri Jul 05 23:43:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.52 2002/03/17 19:40:38 atatat Exp $  */
+/*     $NetBSD: ite.c,v 1.53 2002/07/05 23:43:28 gmcgarry Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.52 2002/03/17 19:40:38 atatat Exp $");                                                  
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.53 2002/07/05 23:43:28 gmcgarry Exp $");                                                  
 
 #include "hil.h"
 
@@ -471,7 +471,7 @@
        int error;
 
        error = (*tp->t_linesw->l_ioctl)(tp, cmd, addr, flag, p);
-       if (error == EPASSTHROUGH)
+       if (error != EPASSTHROUGH)
                return (error);
        return ttioctl(tp, cmd, addr, flag, p);
 }



Home | Main Index | Thread Index | Old Index