[sysprof/wip/chergert/path-resolver] build: fix write length
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/path-resolver] build: fix write length
- Date: Tue, 21 Sep 2021 20:12:13 +0000 (UTC)
commit 11ae2fa39500f182c5786d3b39f2281dececa662
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 21 13:12:02 2021 -0700
build: fix write length
src/libsysprof/sysprof-proc-source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-proc-source.c b/src/libsysprof/sysprof-proc-source.c
index 7edaee0..9200b12 100644
--- a/src/libsysprof/sysprof-proc-source.c
+++ b/src/libsysprof/sysprof-proc-source.c
@@ -167,7 +167,7 @@ add_file (SysprofProcSource *self,
-1,
pid,
path,
- to_write > 0,
+ to_write == 0,
(const guint8 *)data,
this_write);
data += this_write;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]