diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-06-18 23:13:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 17:13:34 +0200 |
| commit | c96c1ad5ddb977a3723b6d53317f7942546e0779 (patch) | |
| tree | fa2ea910ed9cca3806de8a1020b4e0d4e78ef41f /src/core.c | |
| parent | 71220b7fef4466f98cc78b1d013755aca8e217c6 (diff) | |
| download | box64-c96c1ad5ddb977a3723b6d53317f7942546e0779.tar.gz box64-c96c1ad5ddb977a3723b6d53317f7942546e0779.zip | |
[BIONIC] Fixed some compilation warnings (#2756)
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c index dae932a6..362ffab1 100644 --- a/src/core.c +++ b/src/core.c @@ -391,7 +391,7 @@ void KillAllInstances() snprintf(self_name_with_deleted, sizeof(self_name_with_deleted), "%s (deleted)", self_name); const pid_t self = getpid(); - while (entry = readdir(proc_dir)) { + while ((entry = readdir(proc_dir))) { const pid_t pid = atoi(entry->d_name); if (!pid || pid == self) continue; |