summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/umount.c b/src/umount.c
index 57d25e8945..488e1e4a4d 100644
--- a/src/umount.c
+++ b/src/umount.c
@@ -119,7 +119,7 @@ static int mount_points_list_get(MountPoint **head) {
* /dev/console) */
if (mount_point_is_api(p) ||
mount_point_ignore(p) ||
- path_streq(p, "/dev/console")) {
+ path_equal(p, "/dev/console")) {
free(p);
continue;
}