]> git.pld-linux.org Git - packages/lxc.git/commitdiff
typo fix
authorGrzegorz Pycia <gzohop@pld-linux.org>
Mon, 28 Jan 2019 22:03:36 +0000 (23:03 +0100)
committerGrzegorz Pycia <gzohop@pld-linux.org>
Mon, 28 Jan 2019 22:03:36 +0000 (23:03 +0100)
x32.patch

index 3574d94313f0a9254ded69dac60a5854944843b9..b3207a8b522c535ed49abed3eb6cdf9d8e132579 100644 (file)
--- 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__
  
        /* 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
 +        #else
        ret = snprintf(nanosec, sizeof(nanosec), "%"PRId64, (int64_t)time->tv_nsec);
 +      #endif
This page took 0.080244 seconds and 4 git commands to generate.