summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-07 17:29:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-07 17:29:26 +0000
commite35ef9b65068f5196a0b33c34106f6f49db38780 (patch)
tree036fadc5a8a77dc4f68952e055bcd824e6a1469e /include
parent53796aa2246dd1e12da7ecff86653af747b67da4 (diff)
Use strlcpy() instead of strncpy().
Change the order of name -> raw device conversions 1) statfs the name and use that info iff the name is the mount point 2) look up name in fstab 3) treat as a device The reason for this is that the mounted filesystems may not agree with what fstab says. Anyone who has ever moved disks around and accidentally dumped and empty filesystem will know what I mean.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions