Fix copy & paste error

This commit is contained in:
Luflosi 2019-06-22 17:50:46 +02:00
parent adbc694ff8
commit ab7df777eb
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362

View File

@ -137,7 +137,7 @@ read_exe_path(char *exe, size_t buf_sz) {
static inline bool
read_exe_path(char *exe, size_t buf_sz) {
if (!safe_realpath("/proc/curproc/exe", exe, buf_sz)) { fprintf(stderr, "Failed to read /proc/self/exe\n"); return false; }
if (!safe_realpath("/proc/curproc/exe", exe, buf_sz)) { fprintf(stderr, "Failed to read /proc/curproc/exe\n"); return false; }
return true;
}