summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
committergjb <gjb@FreeBSD.org>2016-03-10 21:16:01 +0000
commit1c7e318a9a31cae130bd5b2de01d93e7800f66ff (patch)
tree5abb86d0e160314526bb716fff070a6708d61844 /sbin/tunefs
parent8c3e466633f443f8af1bf868eb74c53b39b63fb8 (diff)
parent03f8f8e39672316bbe0cad522f381fab54de0b6e (diff)
downloadFreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.zip
FreeBSD-src-1c7e318a9a31cae130bd5b2de01d93e7800f66ff.tar.gz
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sbin/tunefs')
-rw-r--r--sbin/tunefs/tunefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 15c6cf0..b03cdde7 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -316,7 +316,7 @@ main(int argc, char *argv[])
}
if (Lflag) {
name = "volume label";
- strlcpy(sblock.fs_volname, Lvalue, MAXVOLLEN);
+ strncpy(sblock.fs_volname, Lvalue, MAXVOLLEN);
}
if (aflag) {
name = "POSIX.1e ACLs";
OpenPOWER on IntegriCloud