]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/boot/pc/iso.c
9boot: replace strrchr() call with a loop and strchr() for ignoring bang path prefixes
[plan9front.git] / sys / src / boot / pc / iso.c
index 1d6bea2b7777ddc18fc71a059f6d18470b178612..d5e083cea2ae6e00f77e884ab8708dc0634f1bb1 100644 (file)
@@ -39,6 +39,11 @@ struct Dir
 
 int readsect(ulong drive, ulong lba, void *buf);
 
+void
+unload(void)
+{
+}
+
 int
 read(void *f, void *data, int len)
 {
@@ -155,7 +160,7 @@ start(void *sp)
        readn(&ex, origin, ex.len);
        close(&ex);
 
-       if(isowalk(f = &ex, drive, "plan9.ini")){
+       if(isowalk(f = &ex, drive, "/cfg/plan9.ini")){
                print("no config\r\n");
                f = 0;
        }