diff options
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r-- | src/boot/bootctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 2008341f63..fc4726e69a 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -823,7 +823,7 @@ static int install_loader_config(const char *esp_path) { if (fd < 0) return log_error_errno(fd, "Failed to open \"%s\" for writing: %m", p); - f = fdopen(fd, "we"); + f = fdopen(fd, "w"); if (!f) { safe_close(fd); return log_oom(); |