diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-29 06:45:33 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-29 06:45:33 +0000 |
commit | ac4be474894b3ece73558a2ac83322ac57561d07 (patch) | |
tree | 1eaf9299be78e5fc5ce0b43a14dfa6b2037fd8b1 /lib/libdisk | |
parent | 934e692b003173cedf0010e5243778fde94a4816 (diff) | |
download | FreeBSD-src-ac4be474894b3ece73558a2ac83322ac57561d07.zip FreeBSD-src-ac4be474894b3ece73558a2ac83322ac57561d07.tar.gz |
Fix mis-declared static arrays that made sysinstall SEGV in
Set_Boot_Blocks(). Boy, this one had me tearing my hair out!
I hate how the loader distinguishes between `extern char *foo' and
`extern char foo[]' sometimes! :-)
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/libdisk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 1473e72..fd8607c 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * -* $Id: libdisk.h,v 1.20 1995/12/07 10:33:21 peter Exp $ +* $Id: libdisk.h,v 1.21 1996/03/24 18:55:39 joerg Exp $ * */ @@ -89,7 +89,7 @@ struct chunk { }; extern const char *chunk_n[]; -extern const u_char *boot1, *boot2; +extern const u_char boot1[], boot2[]; struct disk * Open_Disk(const char *devname); |