diff options
-rw-r--r-- | meta-networking/recipes-daemons/opensaf/opensaf/0001-Use-correct-printf-format-for-__fsblkcnt_t.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf/0001-Use-correct-printf-format-for-__fsblkcnt_t.patch b/meta-networking/recipes-daemons/opensaf/opensaf/0001-Use-correct-printf-format-for-__fsblkcnt_t.patch index d44ceb0d2e..7e88c498ee 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf/0001-Use-correct-printf-format-for-__fsblkcnt_t.patch +++ b/meta-networking/recipes-daemons/opensaf/opensaf/0001-Use-correct-printf-format-for-__fsblkcnt_t.patch | |||
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
21 | ((statsvfs.f_bfree - 1) * statsvfs.f_frsize)) { | 21 | ((statsvfs.f_bfree - 1) * statsvfs.f_frsize)) { |
22 | syslog( | 22 | syslog( |
23 | LOG_ERR, | 23 | LOG_ERR, |
24 | +#if _FILE_OFFSET_BITS == 64 && __WORDSIZE == 32 | 24 | +#if (_FILE_OFFSET_BITS == 64 || __TIMESIZE == 64) && __WORDSIZE == 32 |
25 | + "Insufficient shared memory (%lld) to write the data of size: %" PRId64 | 25 | + "Insufficient shared memory (%lld) to write the data of size: %" PRId64 |
26 | +#else | 26 | +#else |
27 | "Insufficient shared memory (%ld) to write the data of size: %" PRId64 | 27 | "Insufficient shared memory (%ld) to write the data of size: %" PRId64 |