* [PATCH] [REISERFS]: Complement va_start() with va_end().
@ 2007-11-26 16:50 Richard Knutsson
0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2007-11-26 16:50 UTC (permalink / raw)
To: reiserfs-dev; +Cc: linux-kernel, Richard Knutsson
Complement va_start() with va_end().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Compile-tested on i386 with allyesconfig and allmodconfig.
BTW, the nested if()'s (lines above) may look better if unnested.
diff --git a/fs/reiserfs/prints.c b/fs/reiserfs/prints.c
index 5e7388b..740bb8c 100644
--- a/fs/reiserfs/prints.c
+++ b/fs/reiserfs/prints.c
@@ -575,6 +575,8 @@ void print_block(struct buffer_head *bh, ...) //int print_mode, int first, int l
printk
("Block %llu contains unformatted data\n",
(unsigned long long)bh->b_blocknr);
+
+ va_end(args);
}
static char print_tb_buf[2048];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-26 16:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-26 16:50 [PATCH] [REISERFS]: Complement va_start() with va_end() Richard Knutsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®