26 lines
702 B
Diff
26 lines
702 B
Diff
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
|
|
|