Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42997bfe authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am eb809351: Merge "Always unlink /dev/__kmsg__."

* commit 'eb809351':
  Always unlink /dev/__kmsg__.
parents 20329fa4 eb809351
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -43,9 +43,6 @@ void klog_init(void) {
    static const char* name = "/dev/__kmsg__";
    if (mknod(name, S_IFCHR | 0600, (1 << 8) | 11) == 0) {
        klog_fd = open(name, O_WRONLY | O_CLOEXEC);
        if (klog_fd == -1) {
            return;
        }
        unlink(name);
    }
}