build: support for Linux 4.3

This commit is contained in:
Jan Engelhardt
2015-10-12 16:27:08 +02:00
parent 939fc901c1
commit 237fe7c660
4 changed files with 8 additions and 5 deletions

View File

@@ -66,7 +66,8 @@ static int condition_proc_show(struct seq_file *m, void *data)
{
const struct condition_variable *var = m->private;
return seq_printf(m, var->enabled ? "1\n" : "0\n");
seq_printf(m, var->enabled ? "1\n" : "0\n");
return 0;
}
static int condition_proc_open(struct inode *inode, struct file *file)