/* Make string from nanoseconds. */
+ #ifdef __ILP32__
-+ ret = snprintf(nanosec, LXC_NUMSTRLEN64, "%lld", (int64_t)time->tv_nsec);
++ ret = snprintf(nanosec, sizeof(nanosec), "%lld", (int64_t)time->tv_nsec);
+ #else
ret = snprintf(nanosec, sizeof(nanosec), "%"PRId64, (int64_t)time->tv_nsec);
+ #endif