Permalink
Browse files

A few Println -> Printf

  • Loading branch information...
1 parent 6bd7e8e commit dfafb3a4878e026119d46740566cf7556d2b0268 @cpatulea cpatulea committed Jul 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 fs.go
  2. +1 −1 mtp.go
View
@@ -542,7 +542,7 @@ func (n *folderNode) Rename(oldName string, newParent fuse.FsNode, newName strin
if f := n.Inode().GetChild(newName); f != nil {
if fn != n {
// TODO - delete destination?
- log.Println("old folder already has child %q", newName)
+ log.Printf("old folder already has child %q", newName)
return fuse.ENOSYS
} else {
// does mtp overwrite the destination?
View
@@ -213,7 +213,7 @@ func (d *Device) CreateFolder(parent uint32, name string, storage uint32) (uint3
id := C.LIBMTP_Create_Folder(d.me(), cname, C.uint32_t(parent), C.uint32_t(storage))
if newName := C.GoString(cname); newName != name {
- log.Println("Folder name changed to %q", newName)
+ log.Printf("Folder name changed to %q", newName)
}
C.free(unsafe.Pointer(cname))
return uint32(id), d.ErrorStack()

0 comments on commit dfafb3a

Please sign in to comment.