diff -ur ./ath/if_ath.c temp/ath/if_ath.c --- ./ath/if_ath.c 2004-08-05 19:10:04.000000000 +0200 +++ temp/ath/if_ath.c 2004-08-26 09:56:50.622657976 +0200 @@ -4557,7 +4557,7 @@ static int ath_sysctl_halparam(ctl_table *ctl, int write, struct file *filp, - void *buffer, size_t *lenp) + void *buffer, size_t *lenp,loff_t *ppos) { struct ath_softc *sc = ctl->extra1; u_int val; @@ -4566,7 +4566,7 @@ ctl->data = &val; ctl->maxlen = sizeof(val); if (write) { - ret = proc_dointvec(ctl, write, filp, buffer, lenp); + ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); if (ret == 0) { switch (ctl->ctl_name) { case ATH_SLOTTIME: @@ -4618,7 +4618,7 @@ default: return -EINVAL; } - ret = proc_dointvec(ctl, write, filp, buffer, lenp); + ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); } return ret; } diff -ur ./net80211/ieee80211_linux.c temp/net80211/ieee80211_linux.c --- ./net80211/ieee80211_linux.c 2004-08-05 07:00:02.000000000 +0200 +++ temp/net80211/ieee80211_linux.c 2004-08-26 09:56:50.771635328 +0200 @@ -357,7 +357,7 @@ static int ieee80211_sysctl_debug(ctl_table *ctl, int write, struct file *filp, - void *buffer, size_t *lenp) + void *buffer, size_t *lenp, loff_t *ppos) { struct ieee80211com *ic = ctl->extra1; u_int val; @@ -366,12 +366,12 @@ ctl->data = &val; ctl->maxlen = sizeof(val); if (write) { - ret = proc_dointvec(ctl, write, filp, buffer, lenp); + ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); if (ret == 0) ic->msg_enable = val; } else { val = ic->msg_enable; - ret = proc_dointvec(ctl, write, filp, buffer, lenp); + ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); } return ret; }