diff options
author | Martin Szulecki | 2015-01-28 02:50:18 +0100 |
---|---|---|
committer | Martin Szulecki | 2015-01-28 02:50:18 +0100 |
commit | 24acd595323ab6c57339a901fcf67735c75becfb (patch) | |
tree | 311618337aafc6d1b701f6e2d0427920a3875ae7 | |
parent | 2c6e04f6b98f6bb4504050aacc2f1489e7497bba (diff) | |
download | ideviceinstaller-24acd595323ab6c57339a901fcf67735c75becfb.tar.gz ideviceinstaller-24acd595323ab6c57339a901fcf67735c75becfb.tar.bz2 |
Report to stderr if status callback was called with invalid arguments
-rw-r--r-- | src/ideviceinstaller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 0cf2b18..642d547 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -146,7 +146,7 @@ static void status_cb(const char *operation, plist_t status) free(status_msg); } } else { - printf("%s: called with invalid data!\n", __func__); + fprintf(stderr, "ERROR: %s was called with invalid arguments!\n", __func__); } } |