Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb restore error reporting in ucomparam() lost in 1...



details:   https://anonhg.NetBSD.org/src/rev/48b79fd879fa
branches:  trunk
changeset: 446578:48b79fd879fa
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Dec 11 14:49:27 2018 +0000

description:
restore error reporting in ucomparam() lost in 1.115

diffstat:

 sys/dev/usb/ucom.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 13f7fefba79f -r 48b79fd879fa sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Tue Dec 11 14:38:45 2018 +0000
+++ b/sys/dev/usb/ucom.c        Tue Dec 11 14:49:27 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.120 2018/01/21 13:57:12 skrll Exp $ */
+/*     $NetBSD: ucom.c,v 1.121 2018/12/11 14:49:27 jakllsch Exp $      */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.120 2018/01/21 13:57:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.121 2018/12/11 14:49:27 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1250,7 +1250,7 @@
 
        mutex_exit(&sc->sc_lock);
 
-       return 0;
+       return error;
 }
 
 static int



Home | Main Index | Thread Index | Old Index