diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-05-07 14:19:40 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2022-05-07 20:05:10 +0100 |
commit | b1ba0ce80069760c27ef37fbcc16386c3b7c4031 (patch) | |
tree | 56d240857ef99b8a2a6b33141a966553d00910ec /src/core/mount.c | |
parent | f7ae43795c153916bc6a243e7be3249f07883701 (diff) | |
download | systemd-b1ba0ce80069760c27ef37fbcc16386c3b7c4031.tar.gz |
core/device: Use DEVICE_NOT_FOUND instead of 0.
Use the enum name instead of the value zero. This is a noop change
as DEVICE_NOT_FOUND == 0.
Diffstat (limited to 'src/core/mount.c')
-rw-r--r-- | src/core/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index b4c058dff4..20b4bb6d2b 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -2070,7 +2070,7 @@ static int mount_process_proc_self_mountinfo(Manager *m) { continue; /* Let the device units know that the device is no longer mounted */ - device_found_node(m, what, 0, DEVICE_FOUND_MOUNT); + device_found_node(m, what, DEVICE_NOT_FOUND, DEVICE_FOUND_MOUNT); } return 0; |