X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdynamic-string.c;h=180a4301c3fe218eb3b65e69713f006b70a217dc;hb=f4b6076acab233cfe02e7eaefdeafbb69dfae556;hp=c3338180d250aed389c432031598fde630cb8afa;hpb=e83fd213300e19ad1da4e1ddbc049d4b858d34e8;p=openvswitch diff --git a/lib/dynamic-string.c b/lib/dynamic-string.c index c3338180..180a4301 100644 --- a/lib/dynamic-string.c +++ b/lib/dynamic-string.c @@ -66,7 +66,7 @@ ds_put_uninit(struct ds *ds, size_t n) } void -ds_put_char(struct ds *ds, char c) +ds_put_char__(struct ds *ds, char c) { *ds_put_uninit(ds, 1) = c; } @@ -179,7 +179,7 @@ void ds_put_strftime(struct ds *ds, const char *template, const struct tm *tm) { if (!tm) { - time_t now = time_now(); + time_t now = time_wall(); tm = localtime(&now); } for (;;) {