2007-11-26 16:54:41

by Richard Knutsson

[permalink] [raw]
Subject: [PATCH] [REISERFS]: Complement va_start() with va_end().

Complement va_start() with va_end().

Signed-off-by: Richard Knutsson <[email protected]>
---
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];