summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f6bf24)
raw | patch | inline | side by side (parent: 0f6bf24)
author | Justin Sobota <jsobota@ti.com> | |
Mon, 19 Jan 2015 16:24:14 +0000 (11:24 -0500) | ||
committer | Justin Sobota <jsobota@ti.com> | |
Mon, 19 Jan 2015 16:24:14 +0000 (11:24 -0500) |
test/armv7/linux/rm_server.c | patch | blob | history |
index 6e146167b3a205c84f1a10ce4341cc3f7a8743f4..e1f1f8a1b649eabaa24e8edccc23e539f2a0e1ca 100644 (file)
@@ -130,7 +130,7 @@ void rmsrv_log(const int loglevel, const char* functionName, const char* fileNam
va_list args;
struct stat fbuf;
- snprintf(lineno_a, MAX_PRE_LOG_BUF_LEN, "%d", lineNo);
+ snprintf(lineno_a, sizeof(lineno_a), "%d", lineNo);
rmsrv_log_buf[0] = 0;