Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77942
b: refs/heads/master
c: 6d9a89e
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Sam Ravnborg committed Jan 28, 2008
1 parent 66bc425 commit 49b796b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e588f6dcfcffa24decf418b96b4184a907d2bf8
refs/heads/master: 6d9a89ea4b06146d29e1ffb4d6fded286fa07d29
8 changes: 5 additions & 3 deletions trunk/scripts/mod/modpost.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ enum export {
export_unused_gpl, export_gpl_future, export_unknown
};

void fatal(const char *fmt, ...)
#define PRINTF __attribute__ ((format (printf, 1, 2)))

PRINTF void fatal(const char *fmt, ...)
{
va_list arglist;

Expand All @@ -46,7 +48,7 @@ void fatal(const char *fmt, ...)
exit(1);
}

void warn(const char *fmt, ...)
PRINTF void warn(const char *fmt, ...)
{
va_list arglist;

Expand All @@ -57,7 +59,7 @@ void warn(const char *fmt, ...)
va_end(arglist);
}

void merror(const char *fmt, ...)
PRINTF void merror(const char *fmt, ...)
{
va_list arglist;

Expand Down

0 comments on commit 49b796b

Please sign in to comment.