mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
fix new lint warnings
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -284,7 +284,7 @@ func (l *StdLoggerWrapper) Write(p []byte) (n int, err error) {
|
||||
p = p[0 : n-1]
|
||||
}
|
||||
|
||||
Log(LevelError, l.Sender, "", bytesToString(p))
|
||||
Log(LevelError, l.Sender, "", "%s", bytesToString(p))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user