Commit ea1d0ac9 ea1d0ac9eb61319287c86cce64f506902037e4b9 by Sergey Poznyakoff

(mh_format): Fixed format spec.

1 parent cf2ca8ca
...@@ -351,7 +351,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno, ...@@ -351,7 +351,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno,
351 351
352 /* Convert arg_num to arg_str */ 352 /* Convert arg_num to arg_str */
353 case mhop_num_to_str: 353 case mhop_num_to_str:
354 snprintf (buf, sizeof buf, "%l", mach.arg_num); 354 snprintf (buf, sizeof buf, "%lu", mach.arg_num);
355 strobj_free (&mach.arg_str); 355 strobj_free (&mach.arg_str);
356 strobj_create (&mach.arg_str, buf); 356 strobj_create (&mach.arg_str, buf);
357 break; 357 break;
......