From: John Hodge Date: Sat, 31 May 2014 05:59:33 +0000 (+0800) Subject: Usermode/init - Better logging X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=41f95269c94e847647f0e986b4999a29ef07025e;p=tpg%2Facess2.git Usermode/init - Better logging --- diff --git a/Usermode/Applications/init_src/main.c b/Usermode/Applications/init_src/main.c index 31408e62..e9c3ef91 100644 --- a/Usermode/Applications/init_src/main.c +++ b/Usermode/Applications/init_src/main.c @@ -452,6 +452,8 @@ int SpawnKTerm(tInitProgram *Program) int in = _SysOpen(path, OPENFLAG_READ); int out = _SysOpen(path, OPENFLAG_WRITE); + _SysDebug("Spawning virtual terminal '%s' with term '%s'", + path, Program->Command[0]); return SpawnCommand(in, out, out, Program->Command, env); } @@ -475,6 +477,8 @@ int SpawnSTerm(tInitProgram *Program) _SysIOCtl(in, SERIAL_IOCTL_GETSETFORMAT, &Program->TypeInfo.STerm.FormatBits); #endif + _SysDebug("Spawning serial terminal '%s' with term '%s'", + Program->TypeInfo.STerm.Path, Program->Command[0]); return SpawnCommand(in, out, out, Program->Command, NULL); }