append the terminating '\0' to bootorder string
commit4690579e9bafa0a2a49d7b12dae905279a552cd6
authorAmos Kong <akong@redhat.com>
Wed, 20 Mar 2013 10:16:34 +0000 (20 18:16 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 2 Apr 2013 13:13:22 +0000 (2 08:13 -0500)
treeeea693b2aa0da29d90c8686fab9ffb6e0033169b
parenta130c6b2b1b9c45836a51e90c847baedcb3125d3
append the terminating '\0' to bootorder string

Problem was introduced in commit c8a6ae8b. The last terminating
'\0' was lost, use the right length 5 ("HALT\0").

Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Message-id: 1363774594-21001-1-git-send-email-akong@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c