summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-23 16:49:38 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-23 16:49:38 -0400
commit07b3454c5da936c9b3d372b3e5ccf08ec8314d21 (patch)
tree32492ba3c86fb6eff1638f3c85b0a798c8276dbf /misc.c
parent2c14566bd4e3d8a61de4721f2fb2ae6b4a1fa866 (diff)
Fixed another typo in `dir_path_num()`.
Diffstat (limited to 'misc.c')
-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;
}