summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-17 22:25:54 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-17 22:25:54 +0000
commit4462d11f5bc13d15689b065cb68c8a24bd372d08 (patch)
tree54f6c472316882766c987ab5f5aa6f446c913eae /usr.bin
parent85eb29e07d61956aee6a20733e46f17e0e2431d0 (diff)
Display symbolicly the mode argument of mkdir, mkfifo, mknod, and umask
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/kdump.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 3903c53ebe4..b8ea03325fa 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.86 2013/12/21 07:32:35 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.87 2014/08/17 22:25:53 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -591,9 +591,15 @@ ktrsyscall(struct ktr_syscall *ktr)
break;
case SYS_chmod:
case SYS_fchmod:
+ case SYS_mkdir:
+ case SYS_mkfifo:
+ case SYS_mknod:
pn(NULL);
pn(modename);
break;
+ case SYS_umask:
+ pn(modename);
+ break;
case SYS_fcntl: {
int cmd;
int arg;