From: John Hodge (sonata) Date: Sun, 20 Jan 2013 04:48:37 +0000 (+0800) Subject: Usermode/axwin3 - (minor) Fixed errnous warning about _SysSpawn X-Git-Tag: rel0.15~598^2~26 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3453712bc891df6b6b5283e4a7539b146112c8bd;p=tpg%2Facess2.git Usermode/axwin3 - (minor) Fixed errnous warning about _SysSpawn --- diff --git a/Usermode/Applications/axwin3_src/WM/main.c b/Usermode/Applications/axwin3_src/WM/main.c index 7d2d3914..c14cbb5d 100644 --- a/Usermode/Applications/axwin3_src/WM/main.c +++ b/Usermode/Applications/axwin3_src/WM/main.c @@ -83,7 +83,7 @@ int main(int argc, char *argv[]) sprintf(server_info, "AXWIN3_SERVER=%i", server_tid); // TODO: Does the client need FDs? int rv = _SysSpawn(csInterfaceApp, argv, envp, 0, NULL, NULL); - if( rv ) { + if( rv < 0 ) { _SysDebug("_SysSpawn chucked a sad, rv=%i, errno=%i", rv, _errno); } }