summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorabhinav <abhinav@NetBSD.org>2017-03-30 19:23:06 +0000
committerabhinav <abhinav@NetBSD.org>2017-03-30 19:23:06 +0000
commit1adbd538680b86a30f3d48680aeac0fe8fae690b (patch)
treeaa825bc3c5a93f8c21acf9c5716696584623f9b3 /lib/libutil
parent748b265be4a33b31735e2b399e193114005374f7 (diff)
Add getdiskcookedname to the NAME section
Fix couple of typos.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/getdiskrawname.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libutil/getdiskrawname.3 b/lib/libutil/getdiskrawname.3
index bb71354fa25..8b810e193d6 100644
--- a/lib/libutil/getdiskrawname.3
+++ b/lib/libutil/getdiskrawname.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: getdiskrawname.3,v 1.2 2012/04/08 16:06:23 wiz Exp $
+.\" $NetBSD: getdiskrawname.3,v 1.3 2017/03/30 19:23:06 abhinav Exp $
.\"
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -32,7 +32,8 @@
.Dt GETDISKRAWNAME 3
.Os
.Sh NAME
-.Nm getdiskrawname
+.Nm getdiskrawname ,
+.Nm getdiskcookedname
.Nd get the the block/character device name for a disk
.Sh LIBRARY
.Lb libutil
@@ -47,13 +48,13 @@ The
.Fn getdiskrawname
function converts the
.Fa name
-argument thar contains a path to a disk block device node to the
+argument that contains a path to a disk block device node to the
path that contains the corresponding character device node.
The
.Fn getdiskcookedname
function converts the
.Fa name
-argument thar contains a path to a disk character device node to the
+argument that contains a path to a disk character device node to the
path that contains the corresponding block device node.
.Sh RETURN VALUES
On success the absolute pathname of the underlying device node is returned.