initial import
This commit is contained in:
25
pmount/pmount_fix-a-careless-segfault-in-debug-mode.patch
Normal file
25
pmount/pmount_fix-a-careless-segfault-in-debug-mode.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From b0cee6ea01d5e63016cd1f384c3b86f86af736af Mon Sep 17 00:00:00 2001
|
||||
From: Vincent Fourmond <fourmond@debian.org>
|
||||
Date: Sun, 18 Mar 2012 02:26:19 +0100
|
||||
Subject: [PATCH] Fix a careless segfault in debug mode
|
||||
|
||||
---
|
||||
src/policy.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
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;
|
||||
}
|
||||
--
|
||||
2.17.1
|
||||
|
||||
Reference in New Issue
Block a user