summaryrefslogtreecommitdiffstats
path: root/src/sysupdate/sysupdate-resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysupdate/sysupdate-resource.c')
-rw-r--r--src/sysupdate/sysupdate-resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysupdate/sysupdate-resource.c b/src/sysupdate/sysupdate-resource.c
index 2a2fb29c20..8104e9c82e 100644
--- a/src/sysupdate/sysupdate-resource.c
+++ b/src/sysupdate/sysupdate-resource.c
@@ -608,7 +608,7 @@ int resource_resolve_path(
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"File system is not placed on a partition block device, cannot determine whole block device backing root file system.");
- r = devpath_from_devnum(S_IFBLK, d, &p);
+ r = devname_from_devnum(S_IFBLK, d, &p);
if (r < 0)
return r;