summaryrefslogtreecommitdiff
path: root/sys/src/9/boot/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/9/boot/boot.c')
-rw-r--r--sys/src/9/boot/boot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/9/boot/boot.c b/sys/src/9/boot/boot.c
index 96ea7fc26..4daf5a661 100644
--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -5,7 +5,7 @@
#include "../boot/boot.h"
void
-boot(int argc, char *argv[])
+main(int argc, char *argv[])
{
char cputype[64];
char buf[32];
@@ -36,7 +36,6 @@ boot(int argc, char *argv[])
USED(argc);
readfile("#e/cputype", cputype, sizeof(cputype));
- setenv("bootdisk", bootdisk, 0);
/* setup the boot namespace */
bind("/boot", "/bin", MAFTER);