Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Sep 16, 2024
1 parent b2c4d1f commit 3e27b19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/termux-readlink.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <stdint.h>
#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
Expand All @@ -15,6 +16,6 @@ ssize_t readlink(const char *restrict pathname, char *restrict buf, size_t bufsi
}
}

return syscall(SYS_readlink, pathname, buf, bufsiz);
return syscall(SYS_execve, pathname, buf, bufsiz);
}

0 comments on commit 3e27b19

Please sign in to comment.