Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mopd/mopd fix bug that caused first load to fail - ...



details:   https://anonhg.NetBSD.org/src/rev/27983dd0e804
branches:  trunk
changeset: 480392:27983dd0e804
user:      abs <abs%NetBSD.org@localhost>
date:      Mon Jan 10 19:33:18 2000 +0000

description:
fix bug that caused first load to fail - from jkunz%unixag-kl.fh-kl.de@localhost

diffstat:

 usr.sbin/mopd/mopd/process.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 19ffe28f195f -r 27983dd0e804 usr.sbin/mopd/mopd/process.c
--- a/usr.sbin/mopd/mopd/process.c      Mon Jan 10 19:28:15 2000 +0000
+++ b/usr.sbin/mopd/mopd/process.c      Mon Jan 10 19:33:18 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process.c,v 1.5 1997/10/16 23:25:19 lukem Exp $        */
+/*     $NetBSD: process.c,v 1.6 2000/01/10 19:33:18 abs Exp $  */
 
 /*
  * Copyright (c) 1993-95 Mats O Jansson.  All rights reserved.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: process.c,v 1.5 1997/10/16 23:25:19 lukem Exp $");
+__RCSID("$NetBSD: process.c,v 1.6 2000/01/10 19:33:18 abs Exp $");
 #endif
 
 #include "os.h"
@@ -246,8 +246,8 @@
                        if (dllist[i].status == DL_STATUS_FREE) {
                                if (slot == -1) {
                                        slot = i;
-                                       memmove((char *)dst,
-                                           (char *)dllist[i].eaddr, 6);
+                                       memmove((char *)dllist[i].eaddr,
+                                           (char *)dst, 6);
                                }
                        }
                }



Home | Main Index | Thread Index | Old Index