chiark / gitweb /
dirent: support DT_UNKNOWN where necessary for compat with reiserfs
[elogind.git] / src / tty-ask-password-agent.c
index a9d06ac001943c63693b6bf453552a04268721a7..35e4d63a8a4b7980e2ec247b4384ccf00251cb3c 100644 (file)
@@ -507,6 +507,9 @@ static int show_passwords(void) {
                 int q;
                 char *wall;
 
+                /* We only support /dev on tmpfs, hence we can rely on
+                 * d_type to be reliable */
+
                 if (de->d_type != DT_REG)
                         continue;