summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs_ctl.c4
-rw-r--r--sys/fs/procfs/procfs_ioctl.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c
index 88ce6dd..19758d8 100644
--- a/sys/fs/procfs/procfs_ctl.c
+++ b/sys/fs/procfs/procfs_ctl.c
@@ -264,7 +264,7 @@ out:
*/
case PROCFS_CTL_RUN:
PROC_UNLOCK(p);
- p->p_flag &= ~P_STOPPED_SGNL; /* this uses SIGSTOP */
+ p->p_flag &= ~P_STOPPED_SIG; /* this uses SIGSTOP */
break;
/*
@@ -351,7 +351,7 @@ procfs_doprocctl(PFS_FILL_ARGS)
#endif
mtx_lock_spin(&sched_lock);
/* XXXKSE: */
- p->p_flag &= ~P_STOPPED_SGNL;
+ p->p_flag &= ~P_STOPPED_SIG;
setrunnable(FIRST_THREAD_IN_PROC(p));
mtx_unlock_spin(&sched_lock);
} else
diff --git a/sys/fs/procfs/procfs_ioctl.c b/sys/fs/procfs/procfs_ioctl.c
index 04c0296..1dd0b6d 100644
--- a/sys/fs/procfs/procfs_ioctl.c
+++ b/sys/fs/procfs/procfs_ioctl.c
@@ -96,7 +96,7 @@ procfs_ioctl(PFS_IOCTL_ARGS)
p->p_step = 0;
if (P_SHOULDSTOP(p)) {
p->p_xstat = sig;
- p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SGNL);
+ p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SIG);
FOREACH_THREAD_IN_PROC(p, td)
setrunnable(td); /* XXX Totally bogus */
mtx_unlock_spin(&sched_lock);
OpenPOWER on IntegriCloud