Fix build breakage. Oops.
This commit is contained in:
parent
5e803980cd
commit
f54b3f436a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: devopen.c,v 1.7 2004/03/24 16:34:29 drochner Exp $ */
|
||||
/* $NetBSD: devopen.c,v 1.8 2005/06/22 20:36:17 junyoung Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -36,7 +36,7 @@
|
||||
#include <bootinfo.h>
|
||||
|
||||
struct devsw devsw[] = {
|
||||
{"disk", biosdiskstrategy, biosdiskopen, biosdiskclose, biosdiskioctl},
|
||||
{"disk", biosdisk_strategy, biosdisk_open, biosdisk_close, biosdisk_ioctl},
|
||||
};
|
||||
int ndevs = sizeof(devsw) / sizeof(struct devsw);
|
||||
|
||||
@ -124,7 +124,7 @@ devopen(f, fname, file)
|
||||
strncpy(bibp.bootpath, *file, sizeof(bibp.bootpath));
|
||||
BI_ADD(&bibp, BTINFO_BOOTPATH, sizeof(bibp));
|
||||
|
||||
return (biosdiskopen(f, biosdev, partition));
|
||||
return (biosdisk_open(f, biosdev, partition));
|
||||
} else {
|
||||
printf("no file system\n");
|
||||
return (ENXIO);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: main.c,v 1.19 2003/08/31 22:40:13 fvdl Exp $ */
|
||||
/* $NetBSD: main.c,v 1.20 2005/06/22 20:36:17 junyoung Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997
|
||||
@ -64,8 +64,6 @@ char *sprint_bootsel __P((const char *));
|
||||
static void bootit __P((const char *, int, int));
|
||||
void usage __P((void));
|
||||
int main __P((int, char **));
|
||||
int parsebootfile __P((const char *, char**, char**, unsigned int*,
|
||||
unsigned int*, const char**));
|
||||
|
||||
void command_help __P((char *));
|
||||
void command_ls __P((char *));
|
||||
@ -90,7 +88,7 @@ parsebootfile(fname, fsmode, devname, unit, partition, file)
|
||||
const char *fname;
|
||||
char **fsmode; /* out */
|
||||
char **devname; /* out */
|
||||
unsigned int *unit, *partition; /* out */
|
||||
int *unit, *partition; /* out */
|
||||
const char **file; /* out */
|
||||
{
|
||||
const char *col, *help;
|
||||
|
Loading…
Reference in New Issue
Block a user