add missing % in an sprintf, why did the compiler not warn us?

Signed-off-by: Mattias Andrée <maandree@operamail.com>