panic: declare as printf-style-checked
. and related fixes Change-Id: I5131ac57dc53d8aec8d421a34c5ceea383404d7a
This commit is contained in:
@@ -441,7 +441,7 @@ int lookup_hook(struct inode *parent, char *name,
|
||||
* Alternative: pull in only PM's table?
|
||||
*/
|
||||
if ((r = getticks(&now)) != OK)
|
||||
panic(__FILE__, "unable to get uptime", r);
|
||||
panic("unable to get uptime: %d", r);
|
||||
|
||||
if (last_update != now) {
|
||||
update_tables();
|
||||
|
||||
Reference in New Issue
Block a user