diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-05-09 14:40:20 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-05-10 11:52:16 +0900 |
commit | e6a23f7d355685f01f6a4ce7c9d37deb7458cf90 (patch) | |
tree | 760a3f032b35829571a0fc1d896f276be600e85e /kexec/kexec.h | |
parent | f7129ad11f75ef27416784c39c29b0e8906d8844 (diff) |
kexec remove last remaining dfprintf
Remove the last remaining dfprintf call and remove the dfprintf
definition.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r-- | kexec/kexec.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h index d54dd80..6bb81a0 100644 --- a/kexec/kexec.h +++ b/kexec/kexec.h @@ -217,12 +217,11 @@ int parse_iomem_single(char *str, uint64_t *start, uint64_t *end); #define MAX_LINE 160 -#define dprintf(args...) dfprintf(stdout, args) #ifdef DEBUG -#define dfprintf(_f, _args...) do {fprintf(_f, _args);} while(0) +#define dprintf(_args...) do {printf(_args);} while(0) #else -static inline int __attribute__ ((format (printf, 2, 3))) - dfprintf(FILE *f, const char *fmt, ...) {return 0;} +static inline int __attribute__ ((format (printf, 1, 2))) + dprintf(const char *fmt, ...) {return 0;} #endif #endif /* KEXEC_H */ |