Commit a8054dfa authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

fel: Remove surplus colons on perror() messages


Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent b4aab6ba
...@@ -354,7 +354,7 @@ int save_file(const char *name, void *data, size_t size) ...@@ -354,7 +354,7 @@ int save_file(const char *name, void *data, size_t size)
FILE *out = fopen(name, "wb"); FILE *out = fopen(name, "wb");
int rc; int rc;
if (!out) { if (!out) {
perror("Failed to open output file: "); perror("Failed to open output file");
exit(1); exit(1);
} }
rc = fwrite(data, size, 1, out); rc = fwrite(data, size, 1, out);
...@@ -373,7 +373,7 @@ void *load_file(const char *name, size_t *size) ...@@ -373,7 +373,7 @@ void *load_file(const char *name, size_t *size)
else else
in = fopen(name, "rb"); in = fopen(name, "rb");
if (!in) { if (!in) {
perror("Failed to open input file: "); perror("Failed to open input file");
exit(1); exit(1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment