Skip to content

Commit 08f7356

Browse files
committed
Properly advance pointer for write location
1 parent 6b212fb commit 08f7356

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

linux/LinuxProcessTable.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,7 @@ static void LinuxProcessTable_readCGroupFile(LinuxProcess* process, openat_arg_t
10721072
break;
10731073
}
10741074

1075+
at += (size_t)wrote;
10751076
left -= (size_t)wrote;
10761077
}
10771078
fclose(file);

0 commit comments

Comments
 (0)