aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.cpp b/src/path.cpp
index 5a71c5463..12f8d3d4e 100644
--- a/src/path.cpp
+++ b/src/path.cpp
@@ -86,7 +86,7 @@ String get_working_directory(gbAllocator allocator) {
array_resize(&buf, size);
cwd = getcwd(buf.data, buf.count);
- if (cwd == nullptr && errno() != ERANGE) {
+ if (cwd == nullptr && errno != ERANGE) {
return {};
}
}