chiark / gitweb /
bus: add .busname unit type to implement kdbus-style bus activation
[elogind.git] / src / core / machine-id-setup.c
index 18e015fe7f09d73a8c96fe7f2e9b03217a1e1b6e..1b55da7e56b8b6117b3418d6414444b3bad7c4f0 100644 (file)
@@ -153,7 +153,7 @@ static int generate(char id[34]) {
 int machine_id_setup(void) {
         _cleanup_close_ int fd = -1;
         int r;
 int machine_id_setup(void) {
         _cleanup_close_ int fd = -1;
         int r;
-        bool writable;
+        bool writable = false;
         struct stat st;
         char id[34]; /* 32 + \n + \0 */
 
         struct stat st;
         char id[34]; /* 32 + \n + \0 */