summaryrefslogtreecommitdiff
path: root/usr.sbin/btxld/btxld.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-09-10 00:47:32 +0000
committerWarner Losh <imp@FreeBSD.org>2009-09-10 00:47:32 +0000
commit9f8504112576df229d47f9542a9fed94f2620d7e (patch)
tree75d5c9f929c5429e6e98265d90b60812970a1dc7 /usr.sbin/btxld/btxld.c
parentb3bfcfd0d93528b9fbd63880b7b8c5e19cee230e (diff)
downloadsrc-test2-9f8504112576df229d47f9542a9fed94f2620d7e.tar.gz
src-test2-9f8504112576df229d47f9542a9fed94f2620d7e.zip
Notes
Diffstat (limited to 'usr.sbin/btxld/btxld.c')
-rw-r--r--usr.sbin/btxld/btxld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/btxld/btxld.c b/usr.sbin/btxld/btxld.c
index 43fa4a9a6806..1102b5c0f271 100644
--- a/usr.sbin/btxld/btxld.c
+++ b/usr.sbin/btxld/btxld.c
@@ -407,7 +407,7 @@ puthdr(int fd, struct hdr *hdr)
switch (hdr->fmt) {
case F_AOUT:
memset(&ex, 0, sizeof(ex));
- N_SETMAGIC(ex, ZMAGIC, MID_ZERO, 0);
+ N_SETMAGIC(ex, ZMAGIC, MID_I386, 0);
hdr->text = N_ALIGN(ex, hdr->text);
ex.a_text = htole32(hdr->text);
hdr->data = N_ALIGN(ex, hdr->data);