* [PATCH] kvm-userspace: Fix a compiler warning
@ 2008-12-10 21:41 Andre Przywara
2008-12-24 11:52 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Andre Przywara @ 2008-12-10 21:41 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm
The following small patch fixes a compiler warning in KVM's vl.c
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
diff --git a/qemu/vl.c b/qemu/vl.c
index 7b58605..b489acd 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -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;
--
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm-userspace: Fix a compiler warning
2008-12-10 21:41 [PATCH] kvm-userspace: Fix a compiler warning Andre Przywara
@ 2008-12-24 11:52 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-12-24 11:52 UTC (permalink / raw)
To: Andre Przywara; +Cc: kvm
Andre Przywara wrote:
> The following small patch fixes a compiler warning in KVM's vl.c
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-24 11:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 21:41 [PATCH] kvm-userspace: Fix a compiler warning Andre Przywara
2008-12-24 11:52 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).