Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib one default is better than two



details:   https://anonhg.NetBSD.org/src/rev/29768c5d87b8
branches:  trunk
changeset: 342260:29768c5d87b8
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 13 21:03:31 2015 +0000

description:
one default is better than two

diffstat:

 sys/arch/i386/stand/lib/dosfile.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 43b0497d9c04 -r 29768c5d87b8 sys/arch/i386/stand/lib/dosfile.c
--- a/sys/arch/i386/stand/lib/dosfile.c Sun Dec 13 19:53:02 2015 +0000
+++ b/sys/arch/i386/stand/lib/dosfile.c Sun Dec 13 21:03:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dosfile.c,v 1.18 2015/12/13 19:51:53 christos Exp $     */
+/*     $NetBSD: dosfile.c,v 1.19 2015/12/13 21:03:31 christos Exp $     */
 
 /*
  * Copyright (c) 1996
@@ -70,7 +70,6 @@
                err = EPERM;
                break;
            case 6: /* invalid handle */
-           default:
                err = EINVAL;
                break;
        }



Home | Main Index | Thread Index | Old Index