summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-04-16 12:12:27 +0000
committerrwatson <rwatson@FreeBSD.org>2005-04-16 12:12:27 +0000
commit04a7b2d37985e5ded07762fa186128aa3185b37c (patch)
tree790777ea9dc25e1ddaab554028cd53d3ea71c063 /sys/contrib
parenta5028ef44ecc830d8e8984fab2ad3c77c66a0092 (diff)
downloadFreeBSD-src-04a7b2d37985e5ded07762fa186128aa3185b37c.zip
FreeBSD-src-04a7b2d37985e5ded07762fa186128aa3185b37c.tar.gz
Modify the alq(9) alq_open() API to accept a file creation mode, rather
than defaulting the cmode argument to vn_open() to 0. Supply a default argument of ALQ_DEFAULT_CMODE (0600) in current callers. Discussed with/pointed out by: hmp Reveiwed by: jeff, hmp MFC after: 3 days
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/ath/freebsd/ah_osdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/ath/freebsd/ah_osdep.c b/sys/contrib/dev/ath/freebsd/ah_osdep.c
index 56756b9..1dc7460 100644
--- a/sys/contrib/dev/ath/freebsd/ah_osdep.c
+++ b/sys/contrib/dev/ath/freebsd/ah_osdep.c
@@ -185,7 +185,7 @@ ath_hal_setlogging(int enable)
error = suser(curthread);
if (error == 0) {
error = alq_open(&ath_hal_alq, ath_hal_logfile,
- curthread->td_ucred,
+ curthread->td_ucred, ALQ_DEFAULT_CMODE,
sizeof (struct athregrec), ath_hal_alq_qsize);
ath_hal_alq_lost = 0;
ath_hal_alq_emitdev = 1;
OpenPOWER on IntegriCloud