X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdynamic-string.c;h=180a4301c3fe218eb3b65e69713f006b70a217dc;hb=97f7803b8eb6f9967ed6090eec1cd2533bad2afe;hp=c3338180d250aed389c432031598fde630cb8afa;hpb=e83fd213300e19ad1da4e1ddbc049d4b858d34e8;p=sliver-openvswitch.git diff --git a/lib/dynamic-string.c b/lib/dynamic-string.c index c3338180d..180a4301c 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 (;;) {