mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
small fixes for last commit
This commit is contained in:
parent
37055c1fa9
commit
48f9e4c7d6
Binary file not shown.
@ -430,7 +430,7 @@ U0 ZenithLog(U8 *format,...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
U0 ZenithWarn(U8 *format,...)
|
U0 ZenithWarn(U8 *format,...)
|
||||||
{//Display pink blinking Err text in zenith_task.
|
{//Display pink blinking Warn text in zenith_task.
|
||||||
U8 *buf=StrPrintJoin(NULL,format,argc,argv),
|
U8 *buf=StrPrintJoin(NULL,format,argc,argv),
|
||||||
*st=MStrPrint(ST_WARN_ST "%s",buf);
|
*st=MStrPrint(ST_WARN_ST "%s",buf);
|
||||||
if (Fs==zenith_task)
|
if (Fs==zenith_task)
|
||||||
|
@ -155,12 +155,12 @@ U8 Mount2(U8 boot_drive_let, CDoc *_doc, Bool _caller_is_prtdisk)
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
public U8 Mount(Bool caller_is_prtdisk = FALSE)
|
public U8 Mount(Bool caller_is_prtdisk=FALSE)
|
||||||
{//Mount drives. Called from $LK,"DiskPart(Mount)",A="FF:::/Zenith/ZBlkDev/DiskPart.CC,Mount("$.
|
{//Mount drives. Called from $LK,"DiskPart(Mount)",A="FF:::/Zenith/ZBlkDev/DiskPart.CC,Mount("$.
|
||||||
return Mount2(0, NULL, caller_is_prtdisk);
|
return Mount2(0, NULL, caller_is_prtdisk);
|
||||||
}
|
}
|
||||||
|
|
||||||
public U0 Unmount(U8 drv_let = 0)
|
public U0 Unmount(U8 drv_let=0)
|
||||||
{//Unmount drive(s).
|
{//Unmount drive(s).
|
||||||
BlkDevDel(Letter2BlkDev(drv_let));
|
BlkDevDel(Letter2BlkDev(drv_let));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user