blob: c140d13bc8de56bd1c670d9e968f170625b29d9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|