fel: Remove surplus colons on perror() messages

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
This commit is contained in:
Bernhard Nortmann 2016-04-20 08:47:50 +02:00
parent b4aab6baec
commit a8054dfa9a

4
fel.c
View File

@ -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);
}