summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/sysvmsg/msgtest.c4
-rw-r--r--regress/sys/kern/sysvsem/semtest.c2
-rw-r--r--regress/sys/kern/sysvshm/shmtest.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/regress/sys/kern/sysvmsg/msgtest.c b/regress/sys/kern/sysvmsg/msgtest.c
index 0c402af4b9c..f9dc9965ee8 100644
--- a/regress/sys/kern/sysvmsg/msgtest.c
+++ b/regress/sys/kern/sysvmsg/msgtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msgtest.c,v 1.3 2002/06/11 06:16:36 jsyn Exp $ */
+/* $OpenBSD: msgtest.c,v 1.4 2002/06/23 03:11:09 deraadt Exp $ */
/* $NetBSD: msgtest.c,v 1.6 2001/02/19 22:44:41 cgd Exp $ */
/*-
@@ -289,7 +289,7 @@ print_msqid_ds(mp, mode)
uid_t uid = geteuid();
gid_t gid = getegid();
- printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
+ printf("PERM: uid %u, gid %u, cuid %u, cgid %u, mode 0%o\n",
mp->msg_perm.uid, mp->msg_perm.gid,
mp->msg_perm.cuid, mp->msg_perm.cgid,
mp->msg_perm.mode & 0777);
diff --git a/regress/sys/kern/sysvsem/semtest.c b/regress/sys/kern/sysvsem/semtest.c
index a2022eb56d1..f65a593a84d 100644
--- a/regress/sys/kern/sysvsem/semtest.c
+++ b/regress/sys/kern/sysvsem/semtest.c
@@ -298,7 +298,7 @@ print_semid_ds(sp, mode)
uid_t uid = geteuid();
gid_t gid = getegid();
- printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
+ printf("PERM: uid %u, gid %u, cuid %u, cgid %u, mode 0%o\n",
sp->sem_perm.uid, sp->sem_perm.gid,
sp->sem_perm.cuid, sp->sem_perm.cgid,
sp->sem_perm.mode & 0777);
diff --git a/regress/sys/kern/sysvshm/shmtest.c b/regress/sys/kern/sysvshm/shmtest.c
index a1b3cf91fc9..4246c81ea9c 100644
--- a/regress/sys/kern/sysvshm/shmtest.c
+++ b/regress/sys/kern/sysvshm/shmtest.c
@@ -263,7 +263,7 @@ print_shmid_ds(sp, mode)
uid_t uid = geteuid();
gid_t gid = getegid();
- printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
+ printf("PERM: uid %u, gid %u, cuid %u, cgid %u, mode 0%o\n",
sp->shm_perm.uid, sp->shm_perm.gid,
sp->shm_perm.cuid, sp->shm_perm.cgid,
sp->shm_perm.mode & 0777);