]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix funny off-by-one error in clock-variable
authorDan Kenigsberg <danken@redhat.com>
Mon, 6 Dec 2010 07:59:30 +0000 (09:59 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 6 Dec 2010 18:14:42 +0000 (11:14 -0700)
commite37ff2004a891f31016ee747030b88050a83b479
tree0b7d19e6c04fee60204aa109ffcbb042d19aab8f
parent68e5e4672a39e5aff135a898b692a7c0fc4874b2
Fix funny off-by-one error in clock-variable

Humans consider January as month #1, while gmtime_r(3) calls it month #0.

While fixing it, render qemu's rtc parameter with leading zeros, as is more
commonplace.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=660194
src/qemu/qemu_conf.c