Skip to content

Commit

Permalink
kernel: fix HAVE_FUNC_ATTRIBUTE_NORETURN -> *_FORMAT
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Dec 18, 2018
1 parent 5667fb0 commit b9ce2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ extern void SyExit(UInt ret) NORETURN;
*F Panic( <msg> )
*/
extern void Panic_(const char * file, int line, const char * fmt, ...) NORETURN
#ifdef HAVE_FUNC_ATTRIBUTE_NORETURN
#ifdef HAVE_FUNC_ATTRIBUTE_FORMAT
__attribute__ ((format (printf, 3, 4)))
#endif
;
Expand Down

0 comments on commit b9ce2cb

Please sign in to comment.