summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-execute.c2
-rw-r--r--src/core/machine-id-setup.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index a7fbd71144..238fc8efdd 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -109,7 +109,7 @@ static int property_get_oom_score_adjust(
n = 0;
if (read_one_line_file("/proc/self/oom_score_adj", &t) >= 0)
- safe_atoi(t, &n);
+ safe_atoi32(t, &n);
}
return sd_bus_message_append(reply, "i", n);
diff --git a/src/core/machine-id-setup.c b/src/core/machine-id-setup.c
index c72892b343..ea4bdc5414 100644
--- a/src/core/machine-id-setup.c
+++ b/src/core/machine-id-setup.c
@@ -36,6 +36,7 @@
#include "machine-id-setup.h"
#include "macro.h"
#include "mkdir.h"
+#include "hexdecoct.h"
#include "path-util.h"
#include "process-util.h"
#include "string-util.h"