Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176333
b: refs/heads/master
c: 0b2749a
h: refs/heads/master
i:
  176331: ff66d0d
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Dec 15, 2009
1 parent 5bfd0a6 commit d8173de
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 196a15b4ee99f627fbc2c07e58e14aab2065fa80
refs/heads/master: 0b2749aa6ca40ff3fe12ebb3fdf010ebad2e9085
6 changes: 3 additions & 3 deletions trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ extern int printk_delay_msec;
* Print a one-time message (analogous to WARN_ONCE() et al):
*/
#define printk_once(x...) ({ \
static bool __print_once = true; \
static bool __print_once; \
\
if (__print_once) { \
__print_once = false; \
if (!__print_once) { \
__print_once = true; \
printk(x); \
} \
})
Expand Down

0 comments on commit d8173de

Please sign in to comment.