summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-28 02:50:18 +0100
committerGravatar Martin Szulecki2015-01-28 02:50:18 +0100
commit24acd595323ab6c57339a901fcf67735c75becfb (patch)
tree311618337aafc6d1b701f6e2d0427920a3875ae7 /src
parent2c6e04f6b98f6bb4504050aacc2f1489e7497bba (diff)
downloadideviceinstaller-24acd595323ab6c57339a901fcf67735c75becfb.tar.gz
ideviceinstaller-24acd595323ab6c57339a901fcf67735c75becfb.tar.bz2
Report to stderr if status callback was called with invalid arguments
Diffstat (limited to 'src')
-rw-r--r--src/ideviceinstaller.c2
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__);
}
}