Module Name: src Committed By: haad Date: Mon Feb 28 23:23:08 UTC 2011
Modified Files: src/gnu/usr.bin/groff/tmac: mdoc.local src/lib/libdm: dm.3 Log Message: Fix problems in libdm manual page pointed by njoly@ thanks for help. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/gnu/usr.bin/groff/tmac/mdoc.local cvs rdiff -u -r1.3 -r1.4 src/lib/libdm/dm.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/usr.bin/groff/tmac/mdoc.local diff -u src/gnu/usr.bin/groff/tmac/mdoc.local:1.62 src/gnu/usr.bin/groff/tmac/mdoc.local:1.63 --- src/gnu/usr.bin/groff/tmac/mdoc.local:1.62 Fri Feb 11 23:47:49 2011 +++ src/gnu/usr.bin/groff/tmac/mdoc.local Mon Feb 28 23:23:08 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: mdoc.local,v 1.62 2011/02/11 23:47:49 christos Exp $ +.\" $NetBSD: mdoc.local,v 1.63 2011/02/28 23:23:08 haad Exp $ .\" .\" Copyright (c) 2003, 2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -84,6 +84,7 @@ .\" Local libraries not in groff .ds doc-str-Lb-libarchive Reading and Writing Streaming Archives Library (libarchive, \-larchive) .ds doc-str-Lb-libbluetooth Bluetooth Library (libbluetooth, \-lbluetooth) +.ds doc-str-Lb-libdm Device-mapper Library (libdm, \-ldm) .ds doc-str-Lb-libfetch File Transfer Library for URLs (libfetch, \-lfetch) .ds doc-str-Lb-libiscsi iSCSI protocol library (libiscsi, \-liscsi) .ds doc-str-Lb-libisns Internet Storage Name Service Library (libisns, \-lisns) Index: src/lib/libdm/dm.3 diff -u src/lib/libdm/dm.3:1.3 src/lib/libdm/dm.3:1.4 --- src/lib/libdm/dm.3:1.3 Mon Feb 28 09:10:28 2011 +++ src/lib/libdm/dm.3 Mon Feb 28 23:23:08 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: dm.3,v 1.3 2011/02/28 09:10:28 njoly Exp $ +.\" $NetBSD: dm.3,v 1.4 2011/02/28 23:23:08 haad Exp $ .\" .\" Copyright (c) 2004,2009 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -30,7 +30,7 @@ .Dt DM 3 .Os .Sh NAME -.Nm libdm +.Nm dm .Nd device-mapper access manipulation library .Sh LIBRARY .Lb libdm @@ -107,9 +107,9 @@ .Ft char * .Fn libdm_table_get_target "libdm_table_t libdm_table" .Ft int -.Fn libdm_table_set_params "const char *params" "libdm_table_t libdm_table" +.Fn libdm_table_set_params "const char *params" "libdm_table_t libdm_table" .Ft char * -.Fn libdm_table_get_params "libdm_table_t libdm_table" +.Fn libdm_table_get_params "libdm_table_t libdm_table" .Ft int32_t .Fn libdm_table_get_status "libdm_table_t libdm_table" .Ft void @@ -218,12 +218,10 @@ Set/fetch device status flags from the task dictionary. .Pp .Fn libdm_task_get_open_num -Fetch number of opened devices from the kernel and return them as -.Rt count . +Fetch number of opened devices from the kernel and return them as count . .Pp .Fn libdm_task_get_target_num -Fetch number of opened devices from the kernel and return them as -.Rt count . +Fetch number of opened devices from the kernel and return them as count . .Pp .Fn libdm_task_get_cmd_version Get the version of the dm driver in the kernel as array