Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/modules/t_modctl.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/modules/t_modctl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- src/tests/modules/t_modctl.c 2010/08/21 13:21:48 1.4 +++ src/tests/modules/t_modctl.c 2010/11/03 16:10:23 1.5 @@ -1,4 +1,4 @@ -/* $NetBSD: t_modctl.c,v 1.4 2010/08/21 13:21:48 pgoyette Exp $ */ +/* $NetBSD: t_modctl.c,v 1.5 2010/11/03 16:10:23 christos Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. * All rights reserved. @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: t_modctl.c,v 1.4 2010/08/21 13:21:48 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: t_modctl.c,v 1.5 2010/11/03 16:10:23 christos Exp $"); #include #include @@ -202,7 +202,8 @@ k_helper_is_present(enum presence_check break; default: - assert(false); + found = false; + assert(found); } return found; @@ -283,7 +284,7 @@ unload(const char *name, bool fatal) * process only. */ static -int +void unload_cleanup(const char *name) {