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 better than returning random errors.
details: https://anonhg.NetBSD.org/src/rev/be9b9c98f895
branches: trunk
changeset: 342258:be9b9c98f895
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 13 19:51:53 2015 +0000
description:
better than returning random errors.
diffstat:
sys/arch/i386/stand/lib/dosfile.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6106cdd7c03a -r be9b9c98f895 sys/arch/i386/stand/lib/dosfile.c
--- a/sys/arch/i386/stand/lib/dosfile.c Sun Dec 13 19:49:34 2015 +0000
+++ b/sys/arch/i386/stand/lib/dosfile.c Sun Dec 13 19:51:53 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dosfile.c,v 1.17 2015/12/11 08:04:20 mlelstv Exp $ */
+/* $NetBSD: dosfile.c,v 1.18 2015/12/13 19:51:53 christos Exp $ */
/*
* Copyright (c) 1996
@@ -70,6 +70,7 @@
err = EPERM;
break;
case 6: /* invalid handle */
+ default:
err = EINVAL;
break;
}
Home |
Main Index |
Thread Index |
Old Index