浏览代码

reiserfs: complement va_start() with va_end().

Complement va_start() with va_end().

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Richard Knutsson 17 年之前
父节点
当前提交
774ed22c21
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      fs/reiserfs/prints.c

+ 2 - 0
fs/reiserfs/prints.c

@@ -575,6 +575,8 @@ void print_block(struct buffer_head *bh, ...)	//int print_mode, int first, int l
 					printk
 					printk
 					    ("Block %llu contains unformatted data\n",
 					    ("Block %llu contains unformatted data\n",
 					     (unsigned long long)bh->b_blocknr);
 					     (unsigned long long)bh->b_blocknr);
+
+	va_end(args);
 }
 }
 
 
 static char print_tb_buf[2048];
 static char print_tb_buf[2048];