aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-06-15 14:29:41 +0000
committerEd Maste <emaste@FreeBSD.org>2018-06-15 14:29:41 +0000
commit4b842782da0fd71db98d394ecb1d8e3d655eb66b (patch)
tree3558d9297ae829ea664a5ae065600fe521948380 /sys
parent1f3bc15763fd54ec06b23641a5e8b8b18c1d5fc5 (diff)
downloadsrc-4b842782da0fd71db98d394ecb1d8e3d655eb66b.tar.gz
src-4b842782da0fd71db98d394ecb1d8e3d655eb66b.zip
Correct debug control for linuxulator faccessat
The Linuxulator provides per-syscall debug control via the compat.linux.debug sysctl. There's generally a 1:1 mapping between sysctl setting and syscall, but faccessat was controlled by the access setting, perhaps due to copy-paste. Sponsored by: Turing Robotic Industries
Notes
Notes: svn path=/head/; revision=335200
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index 36025934f577..ffe03adaebd7 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -554,7 +554,7 @@ linux_faccessat(struct thread *td, struct linux_faccessat_args *args)
LCONVPATHEXIST_AT(td, args->filename, &path, dfd);
#ifdef DEBUG
- if (ldebug(access))
+ if (ldebug(faccessat))
printf(ARGS(access, "%s, %d"), path, args->amode);
#endif