From 8d650a57cd9da2263e3a30bfc35e4661e9a0a7fa Mon Sep 17 00:00:00 2001 From: Grzegorz Pycia Date: Mon, 28 Jan 2019 23:03:36 +0100 Subject: [PATCH] typo fix --- x32.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0