Module Name: src
Committed By: wiz
Date: Sun Jun 23 08:38:41 UTC 2013
Modified Files:
src/lib/libutil: login_cap.3
Log Message:
Put code example on its own line, using Dl.
Ok christos
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libutil/login_cap.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libutil/login_cap.3
diff -u src/lib/libutil/login_cap.3:1.20 src/lib/libutil/login_cap.3:1.21
--- src/lib/libutil/login_cap.3:1.20 Fri Jun 21 08:18:24 2013
+++ src/lib/libutil/login_cap.3 Sun Jun 23 08:38:41 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: login_cap.3,v 1.20 2013/06/21 08:18:24 wiz Exp $
+.\" $NetBSD: login_cap.3,v 1.21 2013/06/23 08:38:41 wiz Exp $
.\"
.\" Copyright (c) 1996,1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -102,10 +102,7 @@ function.
The
.Fn login_getpwclass
function is equivalent to:
-login_getclass(
-.Fa pwd
-? pwd->pw_class :
-.Dv NULL ) .
+.Dl login_getclass(pwd\ ? pwd->pw_class\ : NULL)
.Pp
Once
.Ar lc