Fixed format argument errors

This commit is contained in:
Gilbert Chen
2018-05-24 11:37:52 -04:00
parent aadd2aa390
commit f80a5b1025
4 changed files with 5 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ func CreateACDStorage(tokenFile string, storagePath string, threads int) (storag
return nil, err
}
} else if !isDir {
return nil, fmt.Errorf("%s/%s is not a directory", storagePath+"/"+dir)
return nil, fmt.Errorf("%s is not a directory", storagePath+"/"+dir)
}
storage.idCache[dir] = dirID
}