[Bug 297614] sbin/restore: worng order in calloc arguments
| Newsgroups | gmane.os.freebsd.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297614
Bug ID: 297614
Summary: sbin/restore: worng order in calloc arguments
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 273840
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273840&action=edit
git diff
GCC 15 warns when calloc() is called with sizeof() as the first
argument and count as the second (-Wcalloc-transposed-args).
This is consistent with the calloc(3) manpage.
--
You are receiving this mail because:
You are the assignee for the bug.