Create a gist now

Instantly share code, notes, and snippets.

anonymous /fix-pmount-segfault.diff
Created Jan 27, 2014

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