summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64/boot1/boot1.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2012-12-04 04:37:42 +0000
committerneel <neel@FreeBSD.org>2012-12-04 04:37:42 +0000
commitd8091074f2295a4be6817c9fe8802b9b0db9346d (patch)
tree6ef29583fd1f17922e7c5b7d49d2d96d8ff38ebb /sys/boot/sparc64/boot1/boot1.c
parentd45d8a8d668a9ee12073939bf775c404be8cf175 (diff)
parent6b76c5a1b878e8001537fb323cb0c88fca9dc2df (diff)
downloadFreeBSD-src-d8091074f2295a4be6817c9fe8802b9b0db9346d.zip
FreeBSD-src-d8091074f2295a4be6817c9fe8802b9b0db9346d.tar.gz
IFC @r243836
Diffstat (limited to 'sys/boot/sparc64/boot1/boot1.c')
-rw-r--r--sys/boot/sparc64/boot1/boot1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/boot/sparc64/boot1/boot1.c b/sys/boot/sparc64/boot1/boot1.c
index 4bafe06..d09365c 100644
--- a/sys/boot/sparc64/boot1/boot1.c
+++ b/sys/boot/sparc64/boot1/boot1.c
@@ -60,7 +60,7 @@ static void load(const char *);
static void bcopy(const void *src, void *dst, size_t len);
static void bzero(void *b, size_t len);
-static int mount(const char *device);
+static int domount(const char *device);
static int dskread(void *buf, u_int64_t lba, int nblk);
static void panic(const char *fmt, ...) __dead2;
@@ -347,8 +347,8 @@ main(int ac, char **av)
" Boot loader: %s\n", "", bootpath, path);
#endif
- if (mount(bootpath) == -1)
- panic("mount");
+ if (domount(bootpath) == -1)
+ panic("domount");
#ifdef ZFSBOOT
loadzfs();
@@ -497,17 +497,17 @@ load(const char *fname)
#endif /* ZFSBOOT */
static int
-mount(const char *device)
+domount(const char *device)
{
if ((bootdev = ofw_open(device)) == -1) {
- printf("mount: can't open device\n");
+ printf("domount: can't open device\n");
return (-1);
}
#ifndef ZFSBOOT
dmadat = &__dmadat;
if (fsread(0, NULL, 0)) {
- printf("mount: can't read superblock\n");
+ printf("domount: can't read superblock\n");
return (-1);
}
#endif
OpenPOWER on IntegriCloud