summaryrefslogtreecommitdiff
path: root/bin/systrace
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-04 17:40:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-04 17:40:07 +0000
commit5ad40dcc4d76e03b6e8408bb4373724569b9deb3 (patch)
tree3018c739a670f06b1b8b14eb6e1f5308a5ad72de /bin/systrace
parente4c263689d0e42a90cc2fd95c3da60a90476329b (diff)
rename to a new ioctl
Diffstat (limited to 'bin/systrace')
-rw-r--r--bin/systrace/openbsd-syscalls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/systrace/openbsd-syscalls.c b/bin/systrace/openbsd-syscalls.c
index 80666bf5673..6c188ef8f34 100644
--- a/bin/systrace/openbsd-syscalls.c
+++ b/bin/systrace/openbsd-syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openbsd-syscalls.c,v 1.17 2002/11/26 03:50:58 itojun Exp $ */
+/* $OpenBSD: openbsd-syscalls.c,v 1.18 2002/12/04 17:40:06 mickey Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -184,8 +184,8 @@ obsd_open(void)
return (-1);
}
- if (ioctl(fd, SYSTR_CLONE, &cfd) == -1) {
- warn("ioctl(SYSTR_CLONE)");
+ if (ioctl(fd, STRIOCCLONE, &cfd) == -1) {
+ warn("ioctl(STRIOCCLONE)");
goto out;
}