I don't have access to a sparc anymore however, here is a patch that should apply on any arch.
Please test (compiled ok for me).
diff -Naurp lxc-0.9.0~alpha3.orig/src/lxc/log.c lxc-0.9.0~alpha3/src/lxc/log.c --- lxc-0.9.0~alpha3.orig/src/lxc/log.c 2013-02-27 13:59:36.000000000 +0100 +++ lxc-0.9.0~alpha3/src/lxc/log.c 2013-05-28 20:16:07.000000000 +0200 @@ -66,15 +66,17 @@ static int log_append_logfile(const stru { char buffer[LXC_LOG_BUFFER_SIZE]; int n; + int ms; if (lxc_log_fd == -1) return 0; + ms = event->timestamp.tv_usec / 1000; n = snprintf(buffer, sizeof(buffer), - "%15s %10ld.%03ld %-8s %s - ", + "%15s %10ld.%03d %-8s %s - ", log_prefix, event->timestamp.tv_sec, - event->timestamp.tv_usec / 1000, + ms, lxc_log_priority_to_string(event->priority), event->category);