mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
observe only the temp file and not longer the directory /tmp
This commit is contained in:
parent
52aa821e33
commit
ac9fe0f085
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue