summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-12-12 14:32:10 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-12-12 14:32:10 +0000
commit7e9a23df06d5c0ce6b178055512a7eb28fcc4239 (patch)
tree6df580f6713c24b141e55688b9fc3cf266525f42
parentbb0daa7e482f7f32e2e45a880ce9f7ae0fb72f8b (diff)
use a format string for request_module, so the compiler will do the right thing
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5523 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 804f195..e54e35e 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -1146,7 +1146,7 @@ retry:
*c = tolower(*d);
}
- request_module(modname_buf);
+ request_module("%s", modname_buf);
tried_once = 1;