Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186910 Details for
Bug 257485
xen-tools-3.3.0: compilation failure (xc_cpuid_x86.c)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xen-tools-3.3.0-missing-str-litteral.patch (modified)
xen-tools-3.3.0-missing-str-litteral.patch (text/plain), 1.40 KB, created by
Krzysztof Magusiak
on 2009-03-31 22:07:26 UTC
(
hide
)
Description:
xen-tools-3.3.0-missing-str-litteral.patch (modified)
Filename:
MIME Type:
Creator:
Krzysztof Magusiak
Created:
2009-03-31 22:07:26 UTC
Size:
1.40 KB
patch
obsolete
>--- /var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools/libxc/xc_dom_x86.c 2008-08-22 11:49:08.000000000 +0200 >+++ xen-3.3.0/tools/libxc/xc_dom_x86.c 2009-02-03 18:44:56.545638979 +0100 >@@ -418,7 +418,7 @@ > xc_dom_printf("%s: called\n", __FUNCTION__); > > memset(start_info, 0, sizeof(*start_info)); >- snprintf(start_info->magic, sizeof(start_info->magic), dom->guest_type); >+ snprintf(start_info->magic, sizeof(start_info->magic), "%s", dom->guest_type); > start_info->nr_pages = dom->total_pages; > start_info->shared_info = shinfo << PAGE_SHIFT_X86; > start_info->pt_base = dom->pgtables_seg.vstart; >@@ -457,7 +457,7 @@ > xc_dom_printf("%s: called\n", __FUNCTION__); > > memset(start_info, 0, sizeof(*start_info)); >- snprintf(start_info->magic, sizeof(start_info->magic), dom->guest_type); >+ snprintf(start_info->magic, sizeof(start_info->magic), "%s", dom->guest_type); > start_info->nr_pages = dom->total_pages; > start_info->shared_info = shinfo << PAGE_SHIFT_X86; > start_info->pt_base = dom->pgtables_seg.vstart; >--- /var/tmp/portage/app-emulation/xen-tools-3.3.0/work/xen-3.3.0/tools/xenstat/xentop/xentop.c 2009-03-31 23:25:01.000000000 +0200 >+++ xen-3.3.0/tools/xenstat/xentop/xentop.c 2009-03-31 23:24:47.000000000 +0200 >@@ -254,7 +254,7 @@ > { > if(cwin != NULL && !isendwin()) > endwin(); >- fprintf(stderr, str); >+ fprintf(stderr, "%s", str); > exit(1); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257485
:
180829
|
180831
|
186909
| 186910 |
186911