Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/std make compile



details:   https://anonhg.NetBSD.org/src/rev/7aeab556dddb
branches:  trunk
changeset: 542542:7aeab556dddb
user:      ichiro <ichiro%NetBSD.org@localhost>
date:      Sat Feb 01 06:50:42 2003 +0000

description:
make compile

diffstat:

 sys/dev/std/ieee1212.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3f6497cf3fed -r 7aeab556dddb sys/dev/std/ieee1212.c
--- a/sys/dev/std/ieee1212.c    Sat Feb 01 06:42:13 2003 +0000
+++ b/sys/dev/std/ieee1212.c    Sat Feb 01 06:50:42 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee1212.c,v 1.3 2002/05/23 00:10:46 jmc Exp $ */
+/*     $NetBSD: ieee1212.c,v 1.4 2003/02/01 06:50:42 ichiro Exp $      */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -905,7 +905,7 @@
                                        numkeys++;
                                        retkeys = realloc(retkeys,
                                            sizeof(struct p1212_key *) *
-                                           (numkeys + 1), M_WAITOK, M_DEVBUF);
+                                           (numkeys + 1), M_DEVBUF, M_WAITOK);
                                        retkeys[numkeys - 1] = &sdir->com.key;
                                        retkeys[numkeys] = NULL;
                                        if ((flags & P1212_FIND_RETURNALL)
@@ -924,7 +924,7 @@
                                        numkeys++;
                                        retkeys = realloc(retkeys,
                                            sizeof(struct p1212_key *) *
-                                           (numkeys + 1), M_WAITOK, M_DEVBUF);
+                                           (numkeys + 1), M_DEVBUF, M_WAITOK);
                                        retkeys[numkeys - 1] = &data->com.key;
                                        retkeys[numkeys] = NULL;
                                        if ((flags & P1212_FIND_RETURNALL)



Home | Main Index | Thread Index | Old Index