From: Grzegorz Pycia Date: Mon, 28 Jan 2019 22:03:36 +0000 (+0100) Subject: typo fix X-Git-Tag: auto/th/lxc-3.0.3-1~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Flxc.git;a=commitdiff_plain;h=8d650a57cd9da2263e3a30bfc35e4661e9a0a7fa typo fix --- diff --git a/x32.patch b/x32.patch index 3574d94..b3207a8 100644 --- a/x32.patch +++ b/x32.patch @@ -6,7 +6,7 @@ diff -urN lxc-3.0.3.orig/src/lxc/log.c lxc-3.0.3/src/lxc/log.c /* 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