summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 01:33:03 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 01:33:03 +0200
commita37410cbddfadca651c795e9817f66c54374a943 (patch)
tree56794f505615a0f6f205f4f070dc343b5ae19287 /sysdep/unix/io.c
parent221135d6bf256c85b4aeb08881d6262f6eaadff4 (diff)
downloadbird-a37410cbddfadca651c795e9817f66c54374a943.tar
bird-a37410cbddfadca651c795e9817f66c54374a943.zip
Use bsprintf() instead of sprintf().
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 1ee1c07..7857a27 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -288,7 +288,7 @@ tm_format_date(char *x, bird_clock_t t)
struct tm *tm;
tm = localtime(&t);
- sprintf(x, "%02d-%02d-%04d", tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900);
+ bsprintf(x, "%02d-%02d-%04d", tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900);
}
void