bugfix: call fprintf() instead of printf()

This is an embarrassing oversight.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-02-15 12:25:22 -08:00
parent 1ce42158f1
commit 36af99591c

View file

@ -1457,7 +1457,7 @@ const char *do_uemis_import(device_data_t *data)
if (!uemis_get_answer(mountpath, "getDeviceId", 0, 1, &result))
goto bail;
if (strcmp(deviceid, param_buff[0]) != 0) {
printf(stderr, "Uemis: Device id has changed after reconnect!\n");
fprintf(stderr, "Uemis: Device id has changed after reconnect!\n");
goto bail;
}
param_buff[0] = strdup(deviceid);