From 01c570789d7f9ccc1521b791903c8a499b0f6323 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 8 Jan 2021 14:51:11 +0100 Subject: Kinda working VFS implementation --- libtxt/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtxt/keymap.c') diff --git a/libtxt/keymap.c b/libtxt/keymap.c index ae2ab02..e03590e 100644 --- a/libtxt/keymap.c +++ b/libtxt/keymap.c @@ -26,7 +26,7 @@ void map(struct keymap *keymap, int line, char ch, int index) // Very ugly code but it should work for now struct keymap *keymap_parse(const char *path) { - char *keymap_src = read(path); + char *keymap_src = sread(path); if (!keymap_src) return NULL; struct keymap *keymap = malloc(sizeof(*keymap)); -- cgit v1.2.3