Skip to content

Commit ad1e018

Browse files
committed
Had an ifdef in the wrong place.
The ifdef add to log.c was in the wrong place and throwing an error for unused argument
1 parent 93fa8bf commit ad1e018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ void
458458
sshsigdie(const char *file, const char *func, int line, int showfunc,
459459
LogLevel level, const char *suffix, const char *fmt, ...)
460460
{
461-
va_list args;
462461
#ifdef SYSLOG_R_SAFE_IN_SIGHAND
462+
va_list args;
463463
va_start(args, fmt);
464464
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
465465
suffix, fmt, args);

0 commit comments

Comments
 (0)