diff options
| author | schmonz <schmonz@NetBSD.org> | 2002-11-25 10:34:34 +0000 |
|---|---|---|
| committer | schmonz <schmonz@NetBSD.org> | 2002-11-25 10:34:34 +0000 |
| commit | aee43321d12a6b87549d3916c6d6db623b59c267 (patch) | |
| tree | 95857ac16510beb35de15f21d0d6cc75cb3148c9 /sys/compat/linux/common/linux_sysctl.c | |
| parent | 99d5546aa4348b735c4bb55a294c55321c72ac19 (diff) | |
Report ourselves as Linux 2.4.18 on powerpc, too.
Diffstat (limited to 'sys/compat/linux/common/linux_sysctl.c')
| -rw-r--r-- | sys/compat/linux/common/linux_sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_sysctl.c b/sys/compat/linux/common/linux_sysctl.c index 607dec467a5..eb665290ab8 100644 --- a/sys/compat/linux/common/linux_sysctl.c +++ b/sys/compat/linux/common/linux_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sysctl.c,v 1.5 2002/04/04 09:32:11 tron Exp $ */ +/* $NetBSD: linux_sysctl.c,v 1.6 2002/11/25 10:34:34 schmonz Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.5 2002/04/04 09:32:11 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.6 2002/11/25 10:34:34 schmonz Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -170,7 +170,7 @@ linux_sys___sysctl(struct proc *p, void *v, register_t *retval) } char linux_sysname[128] = "Linux"; -#ifdef __i386__ +#if defined(__i386__) || defined(__powerpc__) char linux_release[128] = "2.4.18"; char linux_version[128] = "#0 Wed Feb 20 20:00:02 CET 2002"; #else |
