mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
c6ee989d64
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 lines
338 B
Diff
12 lines
338 B
Diff
--- a/chunk-recover.c
|
|
+++ b/chunk-recover.c
|
|
@@ -887,7 +887,7 @@ static int scan_devices(struct recover_c
|
|
for (i = 0; i < devidx; i++) {
|
|
if (dev_scans[i].bytenr == -1)
|
|
continue;
|
|
- ret = pthread_tryjoin_np(t_scans[i],
|
|
+ ret = pthread_join(t_scans[i],
|
|
(void **)&t_rets[i]);
|
|
if (ret == EBUSY) {
|
|
all_done = 0;
|