build: fix write length

This commit is contained in:
Christian Hergert
2021-09-21 13:12:02 -07:00
parent 0fd7ea3f80
commit 11ae2fa395

View File

@ -167,7 +167,7 @@ add_file (SysprofProcSource *self,
-1, -1,
pid, pid,
path, path,
to_write > 0, to_write == 0,
(const guint8 *)data, (const guint8 *)data,
this_write); this_write);
data += this_write; data += this_write;