LiJiefei / codesearch

Automatically exported from code.google.com/p/codesearch
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Some log.Fatal() calls should be log.Fatalf() [PATCH] #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I ran out of disk space on a server and the error message from cindex ("short 
write writing %s") indicated it should have been a log.Fatalf() call instead of 
log.Fatal().

I ran go vet over the source tree and found two more instances of Fatal() calls 
with format specifiers.

The patch is attached.

Original issue reported on code.google.com by dgryski on 20 Feb 2012 at 2:15

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5318c530cbb7.

Original comment by dgryski on 2 May 2012 at 8:03