From 24acd595323ab6c57339a901fcf67735c75becfb Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 28 Jan 2015 02:50:18 +0100 Subject: Report to stderr if status callback was called with invalid arguments --- src/ideviceinstaller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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__); } } -- cgit v1.1-32-gdbae