]> git.pld-linux.org Git - packages/lxc.git/blobdiff - x32.patch
- up to 4.0.5
[packages/lxc.git] / x32.patch
index b3207a8b522c535ed49abed3eb6cdf9d8e132579..2679bab44faa07350ff396bd0b8959848dac37ad 100644 (file)
--- a/x32.patch
+++ b/x32.patch
@@ -10,6 +10,6 @@ diff -urN lxc-3.0.3.orig/src/lxc/log.c lxc-3.0.3/src/lxc/log.c
 +        #else
        ret = snprintf(nanosec, sizeof(nanosec), "%"PRId64, (int64_t)time->tv_nsec);
 +      #endif
-       if (ret < 0 || ret >= sizeof(nanosec))
-               return -1;
+       if (ret < 0 || (size_t)ret >= sizeof(nanosec))
+               return ret_errno(EIO);
  
This page took 0.104469 seconds and 4 git commands to generate.