Skip to content

Commit 5887497

Browse files
authored
Update ggml/src/ggml-backend-reg.cpp
1 parent a68c7ee commit 5887497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml/src/ggml-backend-reg.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,11 @@ static std::string get_executable_path() {
407407
std::vector<char> path(1024);
408408
while (true) {
409409
// get executable path
410-
# if defined(__linux__)
410+
# if defined(__linux__)
411411
ssize_t len = readlink("/proc/self/exe", path.data(), path.size());
412-
# elif defined(__FreeBSD__)
412+
# elif defined(__FreeBSD__)
413413
ssize_t len = readlink("/proc/curproc/file", path.data(), path.size());
414-
# endif
414+
# endif
415415
if (len == -1) {
416416
break;
417417
}

0 commit comments

Comments
 (0)