summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-15 22:29:43 +0000
committerbde <bde@FreeBSD.org>1998-08-15 22:29:43 +0000
commit5f7c8e30239fa0144c160f2db8b51d4b7c2568ad (patch)
tree9cf24d1b32bf5847d090c16d5438a170510a40dd /sys/i386/linux
parentddbe8db9de8b4492e1865d1fc9034ddde28b9ec4 (diff)
downloadFreeBSD-src-5f7c8e30239fa0144c160f2db8b51d4b7c2568ad.zip
FreeBSD-src-5f7c8e30239fa0144c160f2db8b51d4b7c2568ad.tar.gz
Oops, the previous fix confused Linux's sigset_t with a pointer type.
It can be integral or a struct in POSIX, so it is difficult to print, but it is actually declared as unsigned long. Assume that it is unsigned integral.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/linux_signal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/linux/linux_signal.c b/sys/i386/linux/linux_signal.c
index f901dff..b2cb996 100644
--- a/sys/i386/linux/linux_signal.c
+++ b/sys/i386/linux/linux_signal.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_signal.c,v 1.10 1997/11/06 19:29:00 phk Exp $
+ * $Id: linux_signal.c,v 1.11 1998/07/29 16:43:00 bde Exp $
*/
#include <sys/param.h>
@@ -241,8 +241,8 @@ linux_sigsetmask(struct proc *p, struct linux_sigsetmask_args *args)
sigset_t mask;
#ifdef DEBUG
- printf("Linux-emul(%ld): sigsetmask(%p)\n",
- (long)p->p_pid, (void *)args->mask);
+ printf("Linux-emul(%ld): sigsetmask(%08lx)\n",
+ (long)p->p_pid, (unsigned long)args->mask);
#endif
p->p_retval[0] = bsd_to_linux_sigset(p->p_sigmask);
@@ -276,8 +276,8 @@ linux_sigsuspend(struct proc *p, struct linux_sigsuspend_args *args)
struct sigsuspend_args tmp;
#ifdef DEBUG
- printf("Linux-emul(%ld): sigsuspend(%p)\n",
- (long)p->p_pid, (void *)args->mask);
+ printf("Linux-emul(%ld): sigsuspend(%08lx)\n",
+ (long)p->p_pid, (unsigned long)args->mask);
#endif
tmp.mask = linux_to_bsd_sigset(args->mask);
return sigsuspend(p, &tmp);
OpenPOWER on IntegriCloud