X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Facess2.git;a=blobdiff_plain;f=Kernel%2Fdrv%2Fvterm.c;fp=Kernel%2Fdrv%2Fvterm.c;h=71c4d4a8fc8e93d34cb622689317111adc3e22bd;hp=2ae38ee894c602430190a667d7f050eaca3f6578;hb=bfacdd3b71576cf6ceaa83352d3a7d162adb75e1;hpb=30dd821bb12d4b815546fbd3561b3325fc80e5a7 diff --git a/Kernel/drv/vterm.c b/Kernel/drv/vterm.c index 2ae38ee8..71c4d4a8 100644 --- a/Kernel/drv/vterm.c +++ b/Kernel/drv/vterm.c @@ -40,7 +40,7 @@ Uint64 VT_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, const void *Buffe // === CONSTANTS === // === GLOBALS === -MODULE_DEFINE(0, VERSION, VTerm, VT_Install, NULL, DEFAULT_INPUT, NULL); +MODULE_DEFINE(0, VERSION, VTerm, VT_Install, NULL, NULL); tVFS_NodeType gVT_RootNodeType = { .TypeName = "VTerm Root", .ReadDir = VT_ReadDir, @@ -136,6 +136,9 @@ int VT_Install(char **Arguments) if(!gsVT_InputDevice) gsVT_InputDevice = (char*)DEFAULT_INPUT; else if( Module_EnsureLoaded( gsVT_InputDevice ) ) gsVT_InputDevice = (char*)DEFAULT_INPUT; + if( Module_EnsureLoaded( gsVT_OutputDevice ) ) { + Log_Error("VTerm", "Fallback input '%s' is not avaliable, input will not be avaliable", DEFAULT_INPUT); + } // Create device paths {