diff options
-rw-r--r-- | sbin/savecore/savecore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index c2cb63b..0f1d41e 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -618,7 +618,7 @@ DoFile(const char *savedir, const char *device) */ fdinfo = open(infoname, O_WRONLY | O_CREAT | O_TRUNC, 0600); if (fdinfo < 0) { - syslog(LOG_ERR, "%s: %m", buf); + syslog(LOG_ERR, "%s: %m", infoname); nerr++; goto closefd; } |