[packages/lxc] typo fix

gzohop gzohop at pld-linux.org
Mon Jan 28 23:04:11 CET 2019


commit 8d650a57cd9da2263e3a30bfc35e4661e9a0a7fa
Author: Grzegorz Pycia <gzohop at pld-linux.org>
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



More information about the pld-cvs-commit mailing list