From a4f235dd972151a82cb00074eadf8555c7deb78b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 17 Jan 2023 19:24:32 +0100 Subject: [PATCH] Add .ovnistream suffix to streams --- src/rt/ovni.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rt/ovni.c b/src/rt/ovni.c index 6bf4ed8..7c97f26 100644 --- a/src/rt/ovni.c +++ b/src/rt/ovni.c @@ -61,11 +61,11 @@ create_trace_stream(void) { char path[PATH_MAX]; - int written = snprintf(path, PATH_MAX, "%s/thread.%d", + int written = snprintf(path, PATH_MAX, "%s/thread.%d.ovnistream", rproc.procdir, rthread.tid); if (written >= PATH_MAX) - die("thread trace path too long: %s/thread.%d\n", + die("thread trace path too long: %s/thread.%d.ovnistream\n", rproc.procdir, rthread.tid); rthread.streamfd = open(path, O_WRONLY | O_CREAT, 0644);