Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182609 Details for
Bug 259670
xen-3.3.0 (includes xen and xen-tools) doesn't compile with gcc 4.3.3
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-warning-fix.patch, quick&dirty fix of compilation warning(s)
xen-tools-3.3.0-warning-fix.patch (text/plain), 1.40 KB, created by
Wang, Baojun
on 2009-02-20 03:17:38 UTC
(
hide
)
Description:
xen-tools-3.3.0-warning-fix.patch, quick&dirty fix of compilation warning(s)
Filename:
MIME Type:
Creator:
Wang, Baojun
Created:
2009-02-20 03:17:38 UTC
Size:
1.40 KB
patch
obsolete
>diff -Nru a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c >--- a/tools/libxc/xc_dom_x86.c 2008-08-22 17:49:08.000000000 +0800 >+++ b/tools/libxc/xc_dom_x86.c 2009-02-19 19:08:23.000000000 +0800 >@@ -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; >diff -Nru a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c >--- a/tools/xenstat/xentop/xentop.c 2008-08-22 17:49:08.000000000 +0800 >+++ b/tools/xenstat/xentop/xentop.c 2009-02-19 19:11:46.000000000 +0800 >@@ -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 259670
:
182605
|
182606
|
182607
| 182609 |
182611