summaryrefslogtreecommitdiffstats
path: root/sys/sys/pioctl.h
diff options
context:
space:
mode:
authorsef <sef@FreeBSD.org>1997-12-08 22:09:39 +0000
committersef <sef@FreeBSD.org>1997-12-08 22:09:39 +0000
commited33823bf0948b52d93bdb63ed76c185d061df82 (patch)
tree3716a84cf4bfde7adbd6d4c346efabe45b306e22 /sys/sys/pioctl.h
parent0890a7ca8a5890b2f7da4618ab3e281cff8918b0 (diff)
downloadFreeBSD-src-ed33823bf0948b52d93bdb63ed76c185d061df82.zip
FreeBSD-src-ed33823bf0948b52d93bdb63ed76c185d061df82.tar.gz
A couple of fixes from bruce: first of all, psignal is a void (stupid
me; unfortunately, also makes it hard ot check for errors); second, I had managed to forget a change to PIOCSFL (it should be _IOW, not _IOR) I had in my local copy, and Bruce called me on it. Submitted by: bde
Diffstat (limited to 'sys/sys/pioctl.h')
-rw-r--r--sys/sys/pioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pioctl.h b/sys/sys/pioctl.h
index 2964ca7..8981782 100644
--- a/sys/sys/pioctl.h
+++ b/sys/sys/pioctl.h
@@ -1,7 +1,7 @@
/*
* procfs ioctl definitions.
*
- * $Id: pioctl.h,v 1.1 1997/12/06 04:11:14 sef Exp $
+ * $Id: pioctl.h,v 1.2 1997/12/07 03:59:26 sef Exp $
*/
#ifndef _SYS_PIOCTL_H
@@ -19,7 +19,7 @@ struct procfs_status {
# define PIOCBIS _IOW('p', 1, unsigned int) /* Set event flag */
# define PIOCBIC _IOW('p', 2, unsigned int) /* Clear event flag */
-# define PIOCSFL _IOR('p', 3, unsigned int) /* Set flags */
+# define PIOCSFL _IOW('p', 3, unsigned int) /* Set flags */
/* wait for proc to stop */
# define PIOCWAIT _IOR('p', 4, struct procfs_status)
# define PIOCCONT _IOW('p', 5, int) /* Continue a process */
OpenPOWER on IntegriCloud