diff options
Diffstat (limited to 'src/compiler.c')
| -rw-r--r-- | src/compiler.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler.c b/src/compiler.c index 5de992d..f367f9a 100644 --- a/src/compiler.c +++ b/src/compiler.c @@ -151,7 +151,8 @@ struct scope *compile_file(const char *file) if (*dir != 0 && chdir(dir)) { error("couldn't change to directory %s: %s", dir, - strerror(errno)); + strerror(errno) + ); goto out; } @@ -176,7 +177,8 @@ struct scope *compile_file(const char *file) if (chdir(cwd)) { error("couldn't change back to directory %s: %s", cwd, - strerror(errno)); + strerror(errno) + ); goto out; } |
