Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/n8/common/api PR/50536: David Binderman: fix inc...
details: https://anonhg.NetBSD.org/src/rev/98bf201bcefd
branches: trunk
changeset: 342243:98bf201bcefd
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 13 18:29:00 2015 +0000
description:
PR/50536: David Binderman: fix incorrect sizeof
diffstat:
sys/dev/pci/n8/common/api/n8_key_works.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 2357714b8af5 -r 98bf201bcefd sys/dev/pci/n8/common/api/n8_key_works.c
--- a/sys/dev/pci/n8/common/api/n8_key_works.c Sun Dec 13 18:24:50 2015 +0000
+++ b/sys/dev/pci/n8/common/api/n8_key_works.c Sun Dec 13 18:29:00 2015 +0000
@@ -32,7 +32,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-static char const n8_id[] = "$Id: n8_key_works.c,v 1.1 2008/10/30 12:02:14 darran Exp $";
+static char const n8_id[] = "$Id: n8_key_works.c,v 1.2 2015/12/13 18:29:00 christos Exp $";
/*****************************************************************************/
/** @file n8_key_works.c
* @brief Contains key operations
@@ -139,7 +139,7 @@
for (i=0; i < NUM_WEAK_KEY; i++)
{
- if (memcmp(weak_keys[i], key_p, sizeof(key_p)) == 0)
+ if (memcmp(weak_keys[i], key_p, sizeof(*key_p)) == 0)
{
ret = N8_TRUE;
break;
Home |
Main Index |
Thread Index |
Old Index