Give device_printf format string to pacify clang warning.

This commit is contained in:
Roman Divacky 2012-11-09 14:58:26 +00:00
parent b093ae5964
commit 46c7655029

View File

@ -839,7 +839,7 @@ asmc_key_dump(device_t dev, int number)
strlcat(buf, buf2, sizeof(buf)); strlcat(buf, buf2, sizeof(buf));
} }
strlcat(buf, " \n", sizeof(buf)); strlcat(buf, " \n", sizeof(buf));
device_printf(dev, buf); device_printf(dev, "%s", buf);
} }
return (error); return (error);