Skip to content

Commit d1f1e17

Browse files
committed
realpath: unbreak build on OpenBSD
1 parent a6ee48d commit d1f1e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/unix/realpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ char *p_realpath(const char *pathname, char *resolved)
2424
#ifdef __OpenBSD__
2525
/* The OpenBSD realpath function behaves differently,
2626
* figure out if the file exists */
27-
if (access(ret, F_OK) < 0) {
27+
if (access(result, F_OK) < 0) {
2828
if (!resolved)
2929
free(result);
3030

0 commit comments

Comments
 (0)