libfstools: convert to ulog() api
[project/fstools.git] / libfstools / ubi.c
index 0f6e37a2e66b58b8cdf18f8bf91bf1d53a118f31..c5a33df553561bc7503943d23fc7c7fc61362265 100644 (file)
@@ -144,7 +144,7 @@ static int ubi_volume_match(struct volume *v, char *name, int ubi_num, int volid
 
        volname = read_string_from_file(voldir, "name");
        if (!volname) {
-               fprintf(stderr, "Couldn't read %s/name\n", voldir);
+               ULOG_ERR("Couldn't read %s/name\n", voldir);
                return -1;
        }