Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Unimplemented modcmd() routines should return...
details: https://anonhg.NetBSD.org/src/rev/8c1c21a41b29
branches: trunk
changeset: 756754:8c1c21a41b29
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Jul 31 13:27:29 2010 +0000
description:
Unimplemented modcmd() routines should return ENOTTY, not zero.
diffstat:
share/man/man9/module.9 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r acfd19db519c -r 8c1c21a41b29 share/man/man9/module.9
--- a/share/man/man9/module.9 Sat Jul 31 13:20:08 2010 +0000
+++ b/share/man/man9/module.9 Sat Jul 31 13:27:29 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index