diff --git a/src/tests/system/kernel/syscall_restart_test.cpp b/src/tests/system/kernel/syscall_restart_test.cpp
index 1b337bf..49e3c1a 100644
a
|
b
|
public:
|
235 | 235 | virtual status_t Prepare() |
236 | 236 | { |
237 | 237 | fBytesRead = -1; |
238 | | fFDs = (int[2]){-1, -1}; |
| 238 | fFDs[0] = -1; |
| 239 | fFDs[1] = -1; |
239 | 240 | |
240 | 241 | if (pipe(fFDs) != 0) |
241 | 242 | return errno; |
… |
… |
public:
|
288 | 289 | virtual status_t Prepare() |
289 | 290 | { |
290 | 291 | fBytesWritten = -1; |
291 | | fFDs = (int[2]){-1, -1}; |
| 292 | fFDs[0] = -1; |
| 293 | fFDs[1] = -1; |
292 | 294 | |
293 | 295 | if (pipe(fFDs) != 0) |
294 | 296 | return errno; |
diff --git a/src/tests/system/libroot/posix/signal_test.cpp b/src/tests/system/libroot/posix/signal_test.cpp
index 809bb94..8b095f6 100644
a
|
b
|
|
7 | 7 | #include <errno.h> |
8 | 8 | #include <signal.h> |
9 | 9 | #include <stdio.h> |
| 10 | #include <stdlib.h> |
10 | 11 | #include <string.h> |
11 | 12 | #include <unistd.h> |
12 | 13 | |