Permalink
Browse files

Make free space error message more verbose.

  • Loading branch information...
1 parent f0d8d53 commit 5367aeda4d6a84ab4b5c7cd08340f651fa0f2fa9 @hanwen committed Feb 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fs/classic.go
View
@@ -324,7 +324,7 @@ func (fs *DeviceFs) ensureFreeSpace(want int64) error {
return nil
}
- return fmt.Errorf("not enough space. Have %d, want %d", free, want)
+ return fmt.Errorf("not enough space in %s. Have %d, want %d", fs.options.Dir, free, want)
}
func (fs *DeviceFs) setupClassic() error {

0 comments on commit 5367aed

Please sign in to comment.