aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy_common.c')
-rw-r--r--teensy/teensy_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/teensy/teensy_common.c b/teensy/teensy_common.c
index 96d589e..563a729 100644
--- a/teensy/teensy_common.c
+++ b/teensy/teensy_common.c
@@ -17,9 +17,8 @@ char *read_file(const char *path, size_t *size_out)
size_t bytes_read = fread(dat, sizeof(char), size, file);
- if (bytes_read < size) {
+ if (bytes_read < size)
ty_log_fatal(TY_ERR_IO, "could not read file '%s'", path);
- }
fclose(file);