Commit 2ec7740c authored by Ichito Nagata's avatar Ichito Nagata
Browse files

suppress gcc complaint

parent c9b72f97
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
* need to copy the result into our private buffer. */ \ * need to copy the result into our private buffer. */ \
if (err_str != (buf)) { \ if (err_str != (buf)) { \
strncpy((buf), err_str, ((len) - 1)); \ strncpy((buf), err_str, ((len) - 1)); \
buf[(len)-1] = '\0'; \ (buf)[(len)-1] = '\0'; \
} \ } \
} while (0) } while (0)
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment