sbin/hammer: Fix strncpy(3) length
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 24 Sep 2017 15:22:28 +0000 (18:22 +0300)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 24 Sep 2017 16:12:04 +0000 (19:12 +0300)
commit1ec4d15f586ac3193c2add8ec1c5001e2967bfc8
tree942a4b3edfe1844605d8d8e026be5aa02d61ae8f
parent8d4553cbc15826e9f72a89f86c6423c96241388f
sbin/hammer: Fix strncpy(3) length

The last one is ok, but HAMMER userspace doesn't use strl variants
except for this, then just use strncpy(3) for better portability.
sbin/hammer/cmd_volume.c
sbin/hammer/misc.c