aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bolt/export.go')
-rw-r--r--cmd/bolt/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/export.go b/cmd/bolt/export.go
index 2689f32..9a0b112 100644
--- a/cmd/bolt/export.go
+++ b/cmd/bolt/export.go
@@ -42,7 +42,7 @@ func Export(path string) {
// Encode all buckets into JSON.
output, err := json.Marshal(root)
if err != nil {
- return fmt.Errorf("encode: ", err)
+ return fmt.Errorf("encode: %s", err)
}
print(string(output))
return nil