Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Put code example on its own line, using Dl.



details:   https://anonhg.NetBSD.org/src/rev/442b9eaec7c9
branches:  trunk
changeset: 787553:442b9eaec7c9
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jun 23 08:38:41 2013 +0000

description:
Put code example on its own line, using Dl.
Ok christos

diffstat:

 lib/libutil/login_cap.3 |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 6eaf72d51cec -r 442b9eaec7c9 lib/libutil/login_cap.3
--- a/lib/libutil/login_cap.3   Sun Jun 23 07:28:36 2013 +0000
+++ b/lib/libutil/login_cap.3   Sun Jun 23 08:38:41 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index