diff options
Diffstat (limited to 'mdopen.c')
-rw-r--r-- | mdopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ void make_parts(char *dev, int cnt) minor_num = -1; } else return; - name = malloc(nlen); + name = xmalloc(nlen); for (i=1; i <= cnt ; i++) { struct stat stb2; snprintf(name, nlen, "%s%s%d", dev, dig?"p":"", i); |