disk util: fix bug in strncpy() conversion