diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-20 22:28:05 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-20 22:28:05 +0000 |
commit | bf206a5e7d1e7fe1cf40a402ff1fae192884c8e9 (patch) | |
tree | 229cee7a7e53a3fc505764c36de4dd5a76886505 /loader/pcmcia.c | |
parent | 525fda158756008db180e86e95a6dc5cb18eb374 (diff) | |
download | anaconda-bf206a5e7d1e7fe1cf40a402ff1fae192884c8e9.tar.gz anaconda-bf206a5e7d1e7fe1cf40a402ff1fae192884c8e9.tar.xz anaconda-bf206a5e7d1e7fe1cf40a402ff1fae192884c8e9.zip |
display cardmgr's return code
Diffstat (limited to 'loader/pcmcia.c')
-rw-r--r-- | loader/pcmcia.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/loader/pcmcia.c b/loader/pcmcia.c index 294629224..7eadb90ba 100644 --- a/loader/pcmcia.c +++ b/loader/pcmcia.c @@ -17,7 +17,7 @@ void startPcmcia(moduleList modLoaded, moduleDeps modDeps, int flags) { NULL }; int p[2]; char buf[4096]; - int i; + int i, status; char * pcic; logMessage("in startPcmcia()"); @@ -74,5 +74,7 @@ void startPcmcia(moduleList modLoaded, moduleDeps modDeps, int flags) { logMessage("cardmgr running as pid %d", child); - waitpid(child, NULL, 0); + waitpid(child, &status, 0); + + logMessage("cardmgr returned 0x%x", status); } |