Skip to content

Instantly share code, notes, and snippets.

@timjp87
Created February 16, 2016 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timjp87/4a292a273572d68c690f to your computer and use it in GitHub Desktop.
Save timjp87/4a292a273572d68c690f to your computer and use it in GitHub Desktop.
@@ -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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment