chiark / gitweb /
networkd: explicitly enable/disable ipv6ll addresses
[elogind.git] / src / tty-ask-password-agent / tty-ask-password-agent.c
index 5fc27f9ae54dd50ecda5b9ba744a98fa8420ed2c..bdf651246bd0dad742e017a6c157cea0b1e45a74 100644 (file)
@@ -385,7 +385,7 @@ static bool wall_tty_match(const char *path) {
         _cleanup_free_ char *p = NULL;
 
         if (!path_is_absolute(path))
-                path = strappenda("/dev/", path);
+                path = strjoina("/dev/", path);
 
         r = lstat(path, &st);
         if (r < 0)
@@ -438,7 +438,7 @@ static int show_passwords(void) {
                 if (de->d_type != DT_REG)
                         continue;
 
-                if (ignore_file(de->d_name))
+                if (hidden_file(de->d_name))
                         continue;
 
                 if (!startswith(de->d_name, "ask."))