Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Fix thinko in fix for fix for cf_unit abuse.



details:   https://anonhg.NetBSD.org/src/rev/8620b35b8606
branches:  trunk
changeset: 485435:8620b35b8606
user:      is <is%NetBSD.org@localhost>
date:      Thu Apr 27 21:11:07 2000 +0000

description:
Fix thinko in fix for fix for cf_unit abuse.

diffstat:

 sys/arch/amiga/dev/ser.c |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 8b9fc8c75b1c -r 8620b35b8606 sys/arch/amiga/dev/ser.c
--- a/sys/arch/amiga/dev/ser.c  Thu Apr 27 21:00:50 2000 +0000
+++ b/sys/arch/amiga/dev/ser.c  Thu Apr 27 21:11:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ser.c,v 1.52 2000/04/14 21:56:22 is Exp $      */
+/*     $NetBSD: ser.c,v 1.53 2000/04/27 21:11:07 is Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -192,14 +192,15 @@
                if (ser_matched_real)
                        return(0);
                ser_matched_real = 1;
-       }
+       } else {
+               if (serconsole != 0)
+                       return(0);
 
-       if (serconsole != 0)
-               return(0);
-       if (ser_matched != 0)
-               return(0);
+               if (ser_matched != 0)
+                       return(0);
 
-       ser_matched = 1;
+               ser_matched = 1;
+       }
        return(1);
 }
 



Home | Main Index | Thread Index | Old Index