chiark / gitweb /
unit-name: style fix in unit_name_is_template()
[elogind.git] / src / sysctl / sysctl.c
index 575095f8126a9bc283fad9bf529333d6840166e4..b463c7fac741e5ba7f2f8628437e20e942590755 100644 (file)
@@ -31,6 +31,7 @@
 #include "strv.h"
 #include "util.h"
 #include "strv.h"
+#include "path-util.h"
 #include "conf-files.h"
 
 #define PROC_SYS_PREFIX "/proc/sys/"
@@ -45,7 +46,7 @@ static int apply_sysctl(const char *property, const char *value) {
 
         p = new(char, sizeof(PROC_SYS_PREFIX) + strlen(property));
         if (!p) {
-                log_error("Out of memory");
+                log_error("Out of memory.");
                 return -ENOMEM;
         }
 
@@ -191,7 +192,7 @@ static int parse_argv(int argc, char *argv[]) {
 
                         l = strv_append(arg_prefixes, optarg);
                         if (!l) {
-                                log_error("Out of memory");
+                                log_error("Out of memory.");
                                 return -ENOMEM;
                         }