From ac9fe0f085e97b58d7b6f94917092b9fac82b0b5 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 29 Aug 2016 16:23:08 +0200 Subject: [PATCH] observe only the temp file and not longer the directory /tmp --- hermit/tools/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermit/tools/proxy.c b/hermit/tools/proxy.c index c87a803ee..32100576d 100644 --- a/hermit/tools/proxy.c +++ b/hermit/tools/proxy.c @@ -193,7 +193,7 @@ static void wait_qemu_available(void) exit(1); } - int wd = inotify_add_watch(fd, "/tmp", IN_MODIFY|IN_CREATE); + int wd = inotify_add_watch(fd, tmpname, IN_MODIFY|IN_CREATE); while(1) { int length = read(fd, buffer, BUF_LEN);