#include "hashmap.h"
#include "env-util.h"
#include "fileio.h"
-#include "utf8.h"
+#include "device-nodes.h"
int saved_argc = 0;
char **saved_argv = NULL;
if (t == NULL)
return NULL;
- if (udev_encode_string(u, t, enc_len) < 0)
+ if (encode_devnode_name(u, t, enc_len) < 0)
return NULL;
if (asprintf(&dn, "/dev/disk/by-%s/%s", by, t) < 0)