Fix benchutil alarm open to use #alarm
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 22:30:03 +0000 (18:30 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 8 Oct 2015 14:29:57 +0000 (10:29 -0400)
Fixes: 7fb6e2110113 ("Modify userspace to use device names [2/3]")

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/benchutil/alarm.c

index c303e66..1446527 100644 (file)
@@ -47,7 +47,7 @@ int devalarm_get_fds(int *ctlfd_r, int *timerfd_r, int *alarmid_r)
        char buf[20];
        char path[32];
 
-       ctlfd = open("#A/clone", O_RDWR | O_CLOEXEC);
+       ctlfd = open("#alarm/clone", O_RDWR | O_CLOEXEC);
        if (ctlfd < 0)
                return -1;
        ret = read(ctlfd, buf, sizeof(buf) - 1);