mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-09 17:51:13 +00:00
fix bug that caused first load to fail - from jkunz@unixag-kl.fh-kl.de
This commit is contained in:
@@ -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 @@ mopStartLoad(dst, src, dl_rpr, trans)
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user