summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index f9c2319..dd00480 100644
--- a/misc.c
+++ b/misc.c
@@ -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;
}