Module Name: src
Committed By: pgoyette
Date: Sat Jul 31 13:27:29 UTC 2010
Modified Files:
src/share/man/man9: module.9
Log Message:
Unimplemented modcmd() routines should return ENOTTY, not zero.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/module.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/module.9
diff -u src/share/man/man9/module.9:1.4 src/share/man/man9/module.9:1.5
--- src/share/man/man9/module.9:1.4 Sat Jul 31 13:20:08 2010
+++ src/share/man/man9/module.9 Sat Jul 31 13:27:29 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: module.9,v 1.4 2010/07/31 13:20:08 pgoyette Exp $
+.\" $NetBSD: module.9,v 1.5 2010/07/31 13:27:29 pgoyette Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -109,8 +109,8 @@
.Dv MODULE_CMD_INIT
and
.Dv MODULE_CMD_FINI
-commands; the other commands are optional, and should return zero (success)
-if not implemented.
+commands; the other commands are optional, and should return ENOTTY if
+not implemented.
The
.Fn modcmd
function's return value is ignored for