Bug 193729 - error: format specifies type
Summary: error: format specifies type
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 01:48 UTC by misho
Modified: 2014-09-18 01:48 UTC (History)
0 users

See Also:


Attachments
Patch for issue (428 bytes, text/plain)
2014-09-18 01:48 UTC, misho
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description misho 2014-09-18 01:48:49 UTC
Created attachment 147421 [details]
Patch for issue

When start compiling 64bits kernel with alq support we faced with this error.

/home/fbsd_work.src/src/sys/net80211/ieee80211_alq.c:89:7: error: format specifies type 'int' but the argument has type 'unsigned long' [-Werror,-Wformat]
                    sizeof(struct ieee80211_alq_rec));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [ieee80211_alq.o] Error code 1