From ba3f7c89fbc62b9707916b7e6520f45b4eb74873 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 31 Oct 2017 21:07:58 +0100 Subject: [PATCH] Update makepath() unit test Signed-off-by: Joachim Nilsson --- tests/makepath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/makepath.c b/tests/makepath.c index 76bfdc4..a7633fa 100644 --- a/tests/makepath.c +++ b/tests/makepath.c @@ -4,7 +4,7 @@ #include #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);