diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-11-08 02:13:18 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-11-08 02:13:18 +0000 |
| commit | ce17880650c885f827d45b3d783bffcb2ba5e198 (patch) | |
| tree | f48964de5180c6b27c3272456da3b93d16bd1ea3 /sys/compat/linux/linux_mib.c | |
| parent | fd471588f4bae1dea4a29b2550400500c2de4aca (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_mib.c')
| -rw-r--r-- | sys/compat/linux/linux_mib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index fda251b9553e..98ea4f02bdd9 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -56,11 +56,11 @@ linux_sysctl_osname(SYSCTL_HANDLER_ARGS) char osname[LINUX_MAX_UTSNAME]; int error; - strcpy(osname, linux_get_osname(req->p)); + strcpy(osname, linux_get_osname(req->td->td_proc)); error = sysctl_handle_string(oidp, osname, LINUX_MAX_UTSNAME, req); if (error || req->newptr == NULL) return (error); - error = linux_set_osname(req->p, osname); + error = linux_set_osname(req->td->td_proc, osname); return (error); } @@ -77,11 +77,11 @@ linux_sysctl_osrelease(SYSCTL_HANDLER_ARGS) char osrelease[LINUX_MAX_UTSNAME]; int error; - strcpy(osrelease, linux_get_osrelease(req->p)); + strcpy(osrelease, linux_get_osrelease(req->td->td_proc)); error = sysctl_handle_string(oidp, osrelease, LINUX_MAX_UTSNAME, req); if (error || req->newptr == NULL) return (error); - error = linux_set_osrelease(req->p, osrelease); + error = linux_set_osrelease(req->td->td_proc, osrelease); return (error); } @@ -98,11 +98,11 @@ linux_sysctl_oss_version(SYSCTL_HANDLER_ARGS) int oss_version; int error; - oss_version = linux_get_oss_version(req->p); + oss_version = linux_get_oss_version(req->td->td_proc); error = sysctl_handle_int(oidp, &oss_version, 0, req); if (error || req->newptr == NULL) return (error); - error = linux_set_oss_version(req->p, oss_version); + error = linux_set_oss_version(req->td->td_proc, oss_version); return (error); } |
