Bug 178692 - [PATCH] pkill(1): use __dead2 over __attribute__((noreturn))
Summary: [PATCH] pkill(1): use __dead2 over __attribute__((noreturn))
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2013-05-16 19:30 UTC by Fernando Apesteguía
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:

file.diff (586 bytes, patch)
2013-05-16 19:30 UTC, Fernando Apesteguía
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Apesteguía freebsd_committer 2013-05-16 19:30:01 UTC
pkill uses __attribute__((noreturn)) in the usage function.
__dead2 should be used since it is properly defined in sys/cdefs.h depending on the case.

See this[1] for relevant information

[1] http://permalink.gmane.org/gmane.os.freebsd.devel.cvs.src/164488

Fix: Apply the attached patch.

Patch attached with submission follows:
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:31 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped