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
Usermode/init - Fixed early free of command, fixed %s on array
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
video.c
diff --git
a/Usermode/Applications/axwin3_src/WM/video.c
b/Usermode/Applications/axwin3_src/WM/video.c
index
1b9ffab
..
a30dd37
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/video.c
+++ b/
Usermode/Applications/axwin3_src/WM/video.c
@@
-49,9
+49,10
@@
void Video_Setup(void)
giTerminalFD_Input = 0;
// Check that the console is a VT
// - _SysIOCtl(..., 0, NULL) returns the type, which should be 2
giTerminalFD_Input = 0;
// Check that the console is a VT
// - _SysIOCtl(..., 0, NULL) returns the type, which should be 2
- if( _SysIOCtl(1, 0, NULL) != 2 )
+ tmpInt = _SysIOCtl(1, 0, NULL);
+ if( tmpInt != 2 )
{
{
- fprintf(stderr, "stdout is not an Acess VT, can't start
"
);
+ fprintf(stderr, "stdout is not an Acess VT, can't start
(2 exp, %i got)\n", tmpInt
);
_SysDebug("stdout is not an Acess VT, can't start");
exit(-1);
}
_SysDebug("stdout is not an Acess VT, can't start");
exit(-1);
}
UCC
git Repository :: git.ucc.asn.au