| Summary: | can dhcp/omapip/errwarn.c use /etc/os-release BUG_REPORT_URL? | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pat Riehecky <riehecky> | ||||
| Component: | dhcp | Assignee: | Jiri Popelka <jpopelka> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | jpopelka, thozza | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | dhcp-4.3.5-2.fc26 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-11-30 08:17:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Pat Riehecky
2016-11-28 20:01:24 UTC
Created attachment 1225979 [details]
work-in-progress patch
I'm having this patch, but I'm getting:
error: format not a string literal and no format arguments [-Werror=format-security]
and I'm not sure how to make it work at the moment.
So saving it here as I'm not sure when I'll be having time to finish it.
I think it should be
+ log_error ("%s", bug_report_url());
rather than
+ log_error (bug_report_url());
Thanks, yes, I realized it too when I woke up today :-) |