Changeset 132 for trunk/src/sh_kern.c
- Timestamp:
- Oct 23, 2007, 11:44:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_kern.c
r131 r132 1222 1222 if (mod_syscall_code != 0) 1223 1223 { 1224 sl_strlcpy (timstr_o, sh_unix_gmttime (ctime_old), 32);1225 sl_strlcpy (timstr_n, sh_unix_gmttime (ctime_new), 32);1224 (void) sh_unix_gmttime (ctime_old, timstr_o, sizeof(timstr_o)); 1225 (void) sh_unix_gmttime (ctime_new, timstr_n, sizeof(timstr_n)); 1226 1226 #ifdef SH_USE_XML 1227 1227 sl_snprintf(tmp, 128, … … 1234 1234 #endif 1235 1235 sl_strlcat(msg, tmp, SH_BUFSIZE); 1236 sl_strlcpy (timstr_o, sh_unix_gmttime (mtime_old), 32);1237 sl_strlcpy (timstr_n, sh_unix_gmttime (mtime_new), 32);1236 (void) sh_unix_gmttime (mtime_old, timstr_o, sizeof(timstr_o)); 1237 (void) sh_unix_gmttime (mtime_new, timstr_n, sizeof(timstr_n)); 1238 1238 #ifdef SH_USE_XML 1239 1239 sl_snprintf(tmp, 128, … … 1693 1693 sl_strlcpy(msg, tmp, SH_BUFSIZE); 1694 1694 1695 sl_strlcpy (timstr_o, sh_unix_gmttime (ctime_old), 32);1696 sl_strlcpy (timstr_n, sh_unix_gmttime (ctime_new), 32);1695 (void) sh_unix_gmttime (ctime_old, timstr_o, sizeof(timstr_o)); 1696 (void) sh_unix_gmttime (ctime_new, timstr_n, sizeof(timstr_n)); 1697 1697 #ifdef SH_USE_XML 1698 1698 sl_snprintf(tmp, 128, … … 1705 1705 #endif 1706 1706 sl_strlcat(msg, tmp, SH_BUFSIZE); 1707 sl_strlcpy (timstr_o, sh_unix_gmttime (mtime_old), 32);1708 sl_strlcpy (timstr_n, sh_unix_gmttime (mtime_new), 32);1707 (void) sh_unix_gmttime (mtime_old, timstr_o, sizeof(timstr_o)); 1708 (void) sh_unix_gmttime (mtime_new, timstr_n, sizeof(timstr_n)); 1709 1709 #ifdef SH_USE_XML 1710 1710 sl_snprintf(tmp, 128,
Note:
See TracChangeset
for help on using the changeset viewer.