diff options
author | gjb <gjb@FreeBSD.org> | 2016-03-10 21:16:01 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-03-10 21:16:01 +0000 |
commit | 1c7e318a9a31cae130bd5b2de01d93e7800f66ff (patch) | |
tree | 5abb86d0e160314526bb716fff070a6708d61844 /sbin/tunefs | |
parent | 8c3e466633f443f8af1bf868eb74c53b39b63fb8 (diff) | |
parent | 03f8f8e39672316bbe0cad522f381fab54de0b6e (diff) | |
download | FreeBSD-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.c | 2 |
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"; |