From a8054dfa9add68ac0c7a06ed34bfbf7c9edfe81e Mon Sep 17 00:00:00 2001 From: Bernhard Nortmann Date: Wed, 20 Apr 2016 08:47:50 +0200 Subject: [PATCH] fel: Remove surplus colons on perror() messages Signed-off-by: Bernhard Nortmann --- fel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fel.c b/fel.c index 3bf4441..1a3b917 100644 --- a/fel.c +++ b/fel.c @@ -354,7 +354,7 @@ int save_file(const char *name, void *data, size_t size) FILE *out = fopen(name, "wb"); int rc; if (!out) { - perror("Failed to open output file: "); + perror("Failed to open output file"); exit(1); } rc = fwrite(data, size, 1, out); @@ -373,7 +373,7 @@ void *load_file(const char *name, size_t *size) else in = fopen(name, "rb"); if (!in) { - perror("Failed to open input file: "); + perror("Failed to open input file"); exit(1); }