Update makepath() unit test

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-10-31 21:08:21 +01:00
parent 714ea88cc9
commit ba3f7c89fb
+2 -2
View File
@@ -4,7 +4,7 @@
#include <stdlib.h>
#include "check.h"
int checkpath(char *dir)
int checkpath(const char *dir)
{
char tmp[256];
struct stat sb;
@@ -20,7 +20,7 @@ int checkpath(char *dir)
return 1;
}
int test_makepath(char *dir)
int test_makepath(const char *dir)
{
int ret = makepath(dir);