commit 8d650a57cd9da2263e3a30bfc35e4661e9a0a7fa
Author: Grzegorz Pycia <[email protected]>
Date: Mon Jan 28 23:03:36 2019 +0100
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/8d650a57cd9da2263e3a30bfc35e4661e9a0a7fa
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit