diff options
author | 2014-08-17 22:25:53 +0000 | |
---|---|---|
committer | 2014-08-17 22:25:53 +0000 | |
commit | eb1dda5ea52333f3b821f9c31ea7695c46cbae96 (patch) | |
tree | dd597e7432d1b23c0de2e1da004b540512111700 | |
parent | typo, sorry (diff) | |
download | wireguard-openbsd-eb1dda5ea52333f3b821f9c31ea7695c46cbae96.tar.xz wireguard-openbsd-eb1dda5ea52333f3b821f9c31ea7695c46cbae96.zip |
Display symbolicly the mode argument of mkdir, mkfifo, mknod, and umask
-rw-r--r-- | usr.bin/kdump/kdump.c | 8 |
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; |