]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journal-authenticate.c
treewide: use log_*_errno whenever %m is in the format string
[thirdparty/systemd.git] / src / journal / journal-authenticate.c
index 5ab1982bf097ab4cca7d26f6b216f0d86ae48e16..f9bd686c11a4965cc7a955c9120e061136d946e8 100644 (file)
@@ -339,7 +339,7 @@ int journal_file_fss_load(JournalFile *f) {
         fd = open(p, O_RDWR|O_CLOEXEC|O_NOCTTY, 0600);
         if (fd < 0) {
                 if (errno != ENOENT)
-                        log_error("Failed to open %s: %m", p);
+                        log_error_errno(errno, "Failed to open %s: %m", p);
 
                 r = -errno;
                 goto finish;