chiark / gitweb /
Prep v228: Add remaining updates from upstream (3/3)
[elogind.git] / src / login / test-login-shared.c
index 4c4275d..e9322b6 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "macro.h"
 #include "login-util.h"
+#include "musl_missing.h"
 
 static void test_session_id_valid(void) {
         assert_se(session_id_valid("c1"));
@@ -32,6 +33,7 @@ static void test_session_id_valid(void) {
 }
 
 int main(int argc, char* argv[]) {
+        elogind_set_program_name(argv[0]);
         log_parse_environment();
         log_open();