kvm-userspace: Fix a compiler warning
PATCH 1/1 kvm-userspace: Fix a compiler warning
The following small patch fixes a compiler warning in KVM's vl.c
Signed-off-by Andre Przywara <[email protected]>
---
qemu/vl.c +1 -1
@@ -4611,7 +4611,7 @@ static int gethugepagesize(void) {int ret, fd;char buf[4096 ]; -char *needle ="Hugepagesize:" ; +const char *needle ="Hugepagesize:" ;char *size;unsigned long hugepagesize;
Signature · 9 lines
Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 ----to satisfy European Law for business letters: AMD Saxony Limited Liability Company & Co. KG, Wilschdorfer Landstr. 101, 01109 Dresden, Germany Register Court Dresden: HRA 4896, General Partner authorized to represent: AMD Saxony LLC (Wilmington, Delaware, US) General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
Avi Kivity
AppliedQuoted 2 lines · Andre Przywara
The following small patch fixes a compiler warning in KVM's
vl.c
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function