using strlcpy is correct here, not strncpy

Index: miniunz.cpp
--- miniunz.cpp.orig
+++ miniunz.cpp
@@ -117,7 +117,7 @@ int makedir (
     return 0;
 
   buffer = (char*)malloc(len+1);
-  strncpy(buffer,newdir,len+1);
+  strlcpy(buffer,newdir,len+1);
 
   if (buffer[len-1] == '/') {
     buffer[len-1] = '\0';
