mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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! :-)
This commit is contained in:
parent
1eb476ce90
commit
4f3fd9ad3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15444
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user