Index: uspace/srv/vfs/vfs_lookup.c
===================================================================
--- uspace/srv/vfs/vfs_lookup.c	(revision 4f9ab1e931ca73f16a2e46e300122113719d1c1f)
+++ uspace/srv/vfs/vfs_lookup.c	(revision f6b6b4082d1cfd61c1bca4d6ce9cd55a0efc3faf)
@@ -141,16 +141,4 @@
 }
 
-static char *_strrchr(char *path, int c)
-{
-	char *res = NULL;
-	while (*path != 0) {
-		if (*path == c) {
-			res = path;
-		}
-		path++;
-	}
-	return res;
-}
-
 int vfs_link_internal(vfs_node_t *base, char *path, vfs_triplet_t *child)
 {
@@ -175,5 +163,5 @@
 	vfs_triplet_t *triplet;
 	
-	char *slash = _strrchr(path, '/');
+	char *slash = str_rchr(path, L'/');
 	if (slash && slash != path) {
 		if (slash[1] == 0) {
