Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix memset arguments.
details: https://anonhg.NetBSD.org/src/rev/bd5e1c3b6d01
branches: trunk
changeset: 787759:bd5e1c3b6d01
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 02 00:18:24 2013 +0000
description:
Fix memset arguments.
diffstat:
sys/dev/pci/voodoofb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 16f377126b73 -r bd5e1c3b6d01 sys/dev/pci/voodoofb.c
--- a/sys/dev/pci/voodoofb.c Tue Jul 02 00:01:17 2013 +0000
+++ b/sys/dev/pci/voodoofb.c Tue Jul 02 00:18:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: voodoofb.c,v 1.43 2012/11/09 19:50:22 rkujawa Exp $ */
+/* $NetBSD: voodoofb.c,v 1.44 2013/07/02 00:18:24 joerg Exp $ */
/*
* Copyright (c) 2005, 2006, 2012 Michael Lorenz
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.43 2012/11/09 19:50:22 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.44 2013/07/02 00:18:24 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1388,7 +1388,7 @@
uint8_t misc;
- memset(&mod, 0, sizeof(mode));
+ memset(&mod, 0, sizeof(mod));
mode = &mod;
Home |
Main Index |
Thread Index |
Old Index