From b1d94c37f75017a140121c9735033fcb62e8d0d3 Mon Sep 17 00:00:00 2001 From: davidxu Date: Thu, 5 Sep 2002 07:30:18 +0000 Subject: s/SGNL/SIG/ s/SNGL/SINGLE/ s/SNGLE/SINGLE/ Fix abbreviation for P_STOPPED_* etc flags, in original code they were inconsistent and difficult to distinguish between them. Approved by: julian (mentor) --- sys/fs/procfs/procfs_ctl.c | 4 ++-- sys/fs/procfs/procfs_ioctl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/fs/procfs') 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); -- cgit v1.1