libroken: Build on windows
[openafs.git] / src / WINNT / afsreg / afssw.c
index 2755349..c00ef96 100644 (file)
@@ -107,7 +107,7 @@ afssw_GetClientCellServDBDir(char **bufPP)   /* [out] data buffer */
         if (path[tlen-1] != '\\') {
             char * newPath = malloc(tlen+2);
             if (newPath) {
-                snprintf(newPath,tlen+2,"%s\\",path);
+                _snprintf(newPath,tlen+2,"%s\\",path);
                 free(path);
                 path = newPath;
             }