diff options
author | Søren Schmidt <sos@FreeBSD.org> | 1998-10-05 12:40:42 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 1998-10-05 12:40:42 +0000 |
commit | 5dd99c3bce7bcaea25013c1435c862bce7cc7b36 (patch) | |
tree | 9ea32478b5e04e566ed02ed3776af89bca82c658 | |
parent | b208455ad7790058ee5a4ac426ed67e4539aec8c (diff) |
Notes
-rw-r--r-- | sys/compat/linux/linux_misc.c | 4 | ||||
-rw-r--r-- | sys/i386/linux/linux_misc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 620489e0222c6..9fdd923276749 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.43 1998/09/23 14:50:26 jkh Exp $ + * $Id: linux_misc.c,v 1.44 1998/09/24 13:25:43 jkh Exp $ */ #include <sys/param.h> @@ -745,7 +745,7 @@ linux_newuname(struct proc *p, struct linux_newuname_args *args) #ifdef DEBUG printf("Linux-emul(%d): newuname(*)\n", p->p_pid); #endif - bzero(&linux_newuname, sizeof(struct linux_newuname_args)); + bzero(&linux_newuname, sizeof(struct linux_newuname_t)); strncpy(linux_newuname.sysname, ostype, 64); strncpy(linux_newuname.nodename, hostname, 64); strncpy(linux_newuname.release, osrelease, 64); diff --git a/sys/i386/linux/linux_misc.c b/sys/i386/linux/linux_misc.c index 620489e0222c6..9fdd923276749 100644 --- a/sys/i386/linux/linux_misc.c +++ b/sys/i386/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.43 1998/09/23 14:50:26 jkh Exp $ + * $Id: linux_misc.c,v 1.44 1998/09/24 13:25:43 jkh Exp $ */ #include <sys/param.h> @@ -745,7 +745,7 @@ linux_newuname(struct proc *p, struct linux_newuname_args *args) #ifdef DEBUG printf("Linux-emul(%d): newuname(*)\n", p->p_pid); #endif - bzero(&linux_newuname, sizeof(struct linux_newuname_args)); + bzero(&linux_newuname, sizeof(struct linux_newuname_t)); strncpy(linux_newuname.sysname, ostype, 64); strncpy(linux_newuname.nodename, hostname, 64); strncpy(linux_newuname.release, osrelease, 64); |