]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/tmp.go
Remove excess %s in log messages
[nncp.git] / src / tmp.go
index d3c833e996b459e65d42e16220f872b94e68a388..da96a25bfd0785f9bdc7b8aa48e523b01c47360f 100644 (file)
@@ -46,7 +46,7 @@ func (ctx *Ctx) NewTmpFile() (*os.File, error) {
        fd, err := TempFile(jobsPath, "")
        if err == nil {
                ctx.LogD("tmp", LEs{{"Src", fd.Name()}}, func(les LEs) string {
-                       return "Temporary file created: %s" + fd.Name()
+                       return "Temporary file created: " + fd.Name()
                })
        }
        return fd, err