diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2002-08-15 06:16:10 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2002-08-15 06:16:10 +0000 |
| commit | e4f5294e1817825a941a25d28e7d03e3890c6c80 (patch) | |
| tree | f82718bcc11d0c7ddaeb1b2db627130c5f6c110b /sys/fs/procfs/procfs_ioctl.c | |
| parent | 0db0a7019c2554f46ff976de9cdf0adc56a48388 (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_ioctl.c')
| -rw-r--r-- | sys/fs/procfs/procfs_ioctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/procfs/procfs_ioctl.c b/sys/fs/procfs/procfs_ioctl.c index 9d49be914e7b..04c029686ef5 100644 --- a/sys/fs/procfs/procfs_ioctl.c +++ b/sys/fs/procfs/procfs_ioctl.c @@ -52,13 +52,13 @@ procfs_ioctl(PFS_IOCTL_ARGS) error = 0; switch (cmd) { case PIOCBIS: - p->p_stops |= *(unsigned int *)data; + p->p_stops |= *(uintptr_t *)data; break; case PIOCBIC: - p->p_stops &= ~*(unsigned int *)data; + p->p_stops &= ~*(uintptr_t *)data; break; case PIOCSFL: - flags = *(unsigned int *)data; + flags = *(uintptr_t *)data; if (flags & PF_ISUGID && (error = suser(td)) != 0) break; p->p_pfsflags = flags; @@ -86,7 +86,7 @@ procfs_ioctl(PFS_IOCTL_ARGS) case PIOCCONT: if (p->p_step == 0) break; - sig = *(int *)data; + sig = *(uintptr_t *)data; if (sig != 0 && !_SIG_VALID(sig)) { error = EINVAL; break; |
