Browse Source

list: fix faux_list_kdel()

Serj Kalichev 3 years ago
parent
commit
650380ce99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      faux/list/list.c

+ 1 - 1
faux/list/list.c

@@ -522,7 +522,7 @@ int faux_list_kdel(faux_list_t *list, const void *userkey)
 	if (!list || !userkey)
 		return -1;
 
-	node = faux_list_kfind(list, userkey);
+	node = faux_list_kfind_node(list, userkey);
 	if (!node)
 		return -1; // Not found