blob: 0bc539497ebdc62b7f066239d7f52997f8573abe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/kernel/nv-procfs.c
+++ b/kernel/nv-procfs.c
@@ -360,7 +360,8 @@ nv_procfs_read_registry(
registry_keys = ((nvl != NULL) ?
nvl->registry_keys : nv_registry_keys);
- return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+ seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+ return 0;
}
static ssize_t
@@ -560,7 +561,8 @@ nv_procfs_read_text_file(
void *v
)
{
- return seq_puts(s, s->private);
+ seq_puts(s, s->private);
+ return 0;
}
|