> ANSI specifies %z for size_t so better would be: > > syslog(LOG_WARNING, "cmd_q(): malloc(%z) returned NULL", sizeof(struct ordq_item_t)); indeed this is more correct, unfortunately gcc-2.96 doesn't support this. so until we get 3.x, we'll have to stick with %ld for now :( randolph