bus/fslmc: fix warning with GCC 9
[dpdk.git] / drivers / bus / fslmc / fslmc_bus.c
index eaa39a2..f6e66d2 100644 (file)
@@ -197,7 +197,7 @@ scan_one_fslmc_device(char *dev_name)
 
        t_ptr = strtok(NULL, ".");
        if (!t_ptr) {
-               DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr);
+               DPAA2_BUS_ERR("Incorrect device string observed (null)");
                goto cleanup;
        }