Update makepath() unit test

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