Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2014 13:08
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 anonymous/8648308 to your computer and use it in GitHub Desktop.
Save anonymous/8648308 to your computer and use it in GitHub Desktop.
fix-pmount-segfault.diff
diff --git a/src/policy.c b/src/policy.c
index 74afc28..2163c48 100644
--- a/src/policy.c
+++ b/src/policy.c
@@ -554,7 +554,7 @@ int device_removable_silent(const char * device)
blockdevpath, whitelisted_bus);
}
else
- debug("Device %s does not belong to any whitelisted bus\n");
+ debug("Device %s does not belong to any whitelisted bus\n", device);
}
return removable;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment