summaryrefslogtreecommitdiff
path: root/src/grp-initprogs/systemd-firstboot
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-initprogs/systemd-firstboot')
-rw-r--r--src/grp-initprogs/systemd-firstboot/Makefile2
-rw-r--r--src/grp-initprogs/systemd-firstboot/firstboot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/grp-initprogs/systemd-firstboot/Makefile b/src/grp-initprogs/systemd-firstboot/Makefile
index b94b344bb9..20ea125a52 100644
--- a/src/grp-initprogs/systemd-firstboot/Makefile
+++ b/src/grp-initprogs/systemd-firstboot/Makefile
@@ -28,7 +28,7 @@ systemd_firstboot_SOURCES = \
src/firstboot/firstboot.c
systemd_firstboot_LDADD = \
- libshared.la \
+ libsystemd-shared.la \
-lcrypt
rootbin_PROGRAMS += \
diff --git a/src/grp-initprogs/systemd-firstboot/firstboot.c b/src/grp-initprogs/systemd-firstboot/firstboot.c
index d2059a943f..7308e108e8 100644
--- a/src/grp-initprogs/systemd-firstboot/firstboot.c
+++ b/src/grp-initprogs/systemd-firstboot/firstboot.c
@@ -427,7 +427,7 @@ static int process_machine_id(void) {
if (laccess(etc_machine_id, F_OK) >= 0)
return 0;
- if (sd_id128_equal(arg_machine_id, SD_ID128_NULL))
+ if (sd_id128_is_null(arg_machine_id))
return 0;
mkdir_parents(etc_machine_id, 0755);