KNF, same object code generated

This commit is contained in:
cegger 2009-05-16 07:46:45 +00:00
parent d8c545cc8c
commit d5ffe84070

View File

@ -1,4 +1,4 @@
/* $NetBSD: bios32.c,v 1.17 2009/03/18 17:06:41 cegger Exp $ */
/* $NetBSD: bios32.c,v 1.18 2009/05/16 07:46:45 cegger Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.17 2009/03/18 17:06:41 cegger Exp $");
__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.18 2009/05/16 07:46:45 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -306,7 +306,7 @@ smbios_get_string(struct smbtable *st, uint8_t indx, char *dest, size_t len)
if (i == indx) {
if (va + len < end) {
ret = dest;
memcpy( ret, va, len);
memcpy(ret, va, len);
ret[len - 1] = '\0';
}
}