CShellWindow: add debug output for error ident

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3896d7ceec
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-28 (Sun, 28 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-12-28 22:38:33 +01:00
parent 7205b14041
commit 4798086c3e

View File

@@ -40,6 +40,7 @@
#include <stdio.h>
#include <poll.h>
#include <fcntl.h>
#include <errno.h>
#include <system/helpers.h>
#include <gui/widget/messagebox.h>
#include <errno.h>
@@ -195,6 +196,7 @@ void CShellWindow::exec()
int r = waitpid(pid, &s, 0);
if (res) {
dprintf(DEBUG_NORMAL, "[CShellWindow] [%s - %d] res=%d, error[%d]: %s\n", __func__, __LINE__, *res, errno, strerror(errno));
if (r == -1)
*res = errno;
else