git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git]
/
Kernel
/
drv
/
vterm.c
diff --git
a/Kernel/drv/vterm.c
b/Kernel/drv/vterm.c
index
2ae38ee
..
71c4d4a
100644
(file)
--- 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 ===
// === 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,
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(!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
{
// Create device paths
{
UCC
git Repository :: git.ucc.asn.au