Source-Changes-HG archive

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

[src/prg-localcount2]: src/sys/net Actually return the retrun value that we c...



details:   https://anonhg.NetBSD.org/src/rev/5d936c838a40
branches:  prg-localcount2
changeset: 823548:5d936c838a40
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed May 17 02:40:58 2017 +0000

description:
Actually return the retrun value that we computed.

diffstat:

 sys/net/if_tap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 05119c383c16 -r 5d936c838a40 sys/net/if_tap.c
--- a/sys/net/if_tap.c  Wed May 17 02:37:02 2017 +0000
+++ b/sys/net/if_tap.c  Wed May 17 02:40:58 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tap.c,v 1.99.4.2 2017/05/17 01:44:18 pgoyette Exp $ */
+/*     $NetBSD: if_tap.c,v 1.99.4.3 2017/05/17 02:40:58 pgoyette Exp $ */
 
 /*
  *  Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.99.4.2 2017/05/17 01:44:18 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.99.4.3 2017/05/17 02:40:58 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 
@@ -808,6 +808,7 @@
            (void *)(intptr_t)device_unit(sc->sc_dev));
 
        device_release(sc->sc_dev);
+       return rv;
 }
 
 /*



Home | Main Index | Thread Index | Old Index