]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-file/main.go
Unnecessary printf usage
[nncp.git] / src / cmd / nncp-file / main.go
index 1f2842e1ec2a5d1974b564e5398197a25d974d55..abcf8bc76621d4430c760da4740770061a6f6ce7 100644 (file)
@@ -29,8 +29,8 @@ import (
 )
 
 func usage() {
-       fmt.Fprintf(os.Stderr, nncp.UsageHeader())
-       fmt.Fprintf(os.Stderr, "nncp-file -- send file\n\n")
+       fmt.Fprint(os.Stderr, nncp.UsageHeader())
+       fmt.Fprint(os.Stderr, "nncp-file -- send file\n\n")
        fmt.Fprintf(os.Stderr, "Usage: %s [options] SRC NODE:[DST]\n", os.Args[0])
        fmt.Fprintf(os.Stderr, "       %s [options] SRC %s:AREA:[DST]\nOptions:\n",
                os.Args[0], nncp.AreaDir)