changeset 279:5217c195c5b9

core: forgot to return the path
author David Demelier <markand@malikania.fr>
date Tue, 15 Dec 2020 22:07:01 +0100
parents cc676046aac9
children 11c824a82e63
files libmlk-core/core/sys.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmlk-core/core/sys.c	Tue Dec 15 22:06:32 2020 +0100
+++ b/libmlk-core/core/sys.c	Tue Dec 15 22:07:01 2020 +0100
@@ -190,7 +190,7 @@
 	} else
 		strlcpy(path, "./", sizeof (path));
 
-	return NULL;
+	return path;
 }
 
 static bool