Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/imcsmb For non-modular driver, don't set return stat...
details: https://anonhg.NetBSD.org/src/rev/b39813cd04ea
branches: trunk
changeset: 830118:b39813cd04ea
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Feb 26 05:47:03 2018 +0000
description:
For non-modular driver, don't set return status for the default case.
diffstat:
sys/dev/imcsmb/imc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 2bf6cc4a7624 -r b39813cd04ea sys/dev/imcsmb/imc.c
--- a/sys/dev/imcsmb/imc.c Mon Feb 26 05:04:51 2018 +0000
+++ b/sys/dev/imcsmb/imc.c Mon Feb 26 05:47:03 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imc.c,v 1.3 2018/02/26 05:01:21 pgoyette Exp $ */
+/* $NetBSD: imc.c,v 1.4 2018/02/26 05:47:03 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -376,8 +376,10 @@
mutex_destroy(&imc_access_mutex);
break;
default:
+#ifdef _MODULE
error = ENOTTY;
break;
+#endif
}
return error;
Home |
Main Index |
Thread Index |
Old Index