tFix error message format - cream - Stream encryption utility
(HTM) git clone git://git.z3bra.org/cream.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e490d40348998c25c3823185e2adf15e1ceab87e
(DIR) parent b6e68ff5ede5ac54872fc506176722308b7e89d9
(HTM) Author: Willy Goiffon <contact@z3bra.org>
Date: Tue, 18 Oct 2022 17:13:27 +0200
Fix error message format
Diffstat:
M cream.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/cream.go b/cream.go
t@@ -51,11 +51,11 @@ func readheader(f *os.File, h *Header) {
}
if string(h.Cream_magic[:]) != string(cream_magic) {
- log.Fatal("Invalid format", h.Cream_magic)
+ log.Fatal("Invalid format")
}
if h.Cream_version != cream_version {
- log.Fatal("Version %d not supported", h.Cream_version)
+ log.Fatalf("Version %d not supported", h.Cream_version)
}
}