diff options
| -rw-r--r-- | misc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -78,7 +78,7 @@ char *dir_path_num(const char *root, int num) {  	/* Get the length of the path. */  	int len = snprintf(NULL, 0, "%s/%i", root, num);  	/* Create the directory path. */ -	char *dir = calloc(len+1, sizeof(char)) +	char *dir = calloc(len+1, sizeof(char));  	sprintf(dir, "%s/%i", root, num);  	return dir;  } | 
