use %d for short

obj->otyp is short, so corresponding format string is %d.

(from Coverity Scan)
This commit is contained in:
SHIRAKATA Kentaro
2021-11-24 06:30:00 +09:00
parent 274290bcdf
commit 546377581a

View File

@@ -1346,7 +1346,7 @@ shrink_glob(
unsigned old_top_owt = 0;
if (!obj->globby) {
impossible("shrink_glob for non-glob [%s: %s]?",
impossible("shrink_glob for non-glob [%d: %s]?",
obj->otyp, simpleonames(obj));
return; /* old timer is gone, don't start a new one */
}