Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 781226 Details for
Bug 990477
FTBFS: main.c:336:5: error: format '%llx' expects argument of type 'long long unsigned
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Patch to correct ppc64 warning
dropwatch-1.4-990477.patch (text/x-c), 1.22 KB, created by
Karsten Hopp
on 2013-07-31 16:00:04 UTC
(
hide
)
Description:
Patch to correct ppc64 warning
Filename:
MIME Type:
Creator:
Karsten Hopp
Created:
2013-07-31 16:00:04 UTC
Size:
1.22 KB
patch
obsolete
>diff -up dropwatch-1.4/src/lookup_kas.c.rh1 dropwatch-1.4/src/lookup_kas.c >--- dropwatch-1.4/src/lookup_kas.c.rh1 2013-07-31 17:34:37.155640182 +0200 >+++ dropwatch-1.4/src/lookup_kas.c 2013-07-31 17:47:07.392624689 +0200 >@@ -102,7 +102,7 @@ static int lookup_kas_proc(__u64 pc, str > * - "%pK %c %s\n" (for kernel internal symbols), or > * - "%pK %c %s\t[%s]\n" (for module-provided symbols) > */ >- if (fscanf(pf, "%llx %*s %as [ %*[^]] ]", &ppc, &name) < 0) { >+ if (fscanf(pf, "%llx %*s %as [ %*[^]] ]", (unsigned long long *)&ppc, &name) < 0) { > perror("Error Scanning File: "); > break; > } >diff -up dropwatch-1.4/src/main.c.rh1 dropwatch-1.4/src/main.c >--- dropwatch-1.4/src/main.c.rh1 2013-07-31 17:23:14.289302715 +0200 >+++ dropwatch-1.4/src/main.c 2013-07-31 17:23:48.113130660 +0200 >@@ -333,7 +333,7 @@ void handle_dm_alert_msg(struct netlink_ > printf ("%d drops at location %p\n", alert->points[i].count, location); > else > printf ("%d drops at %s+%llx (%p)\n", >- alert->points[i].count, res.symbol, res.offset, location); >+ alert->points[i].count, res.symbol, (unsigned long long)res.offset, location); > acount++; > if (alimit && (acount == alimit)) { > printf("Alert limit reached, deactivating!\n");
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 Raw
Actions:
View
Attachments on
bug 990477
:
781184
| 781226