summaryrefslogtreecommitdiff
path: root/dpip/dpip.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpip/dpip.c')
-rw-r--r--dpip/dpip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpip/dpip.c b/dpip/dpip.c
index ccd11333..c6212db9 100644
--- a/dpip/dpip.c
+++ b/dpip/dpip.c
@@ -111,7 +111,7 @@ char *a_Dpip_build_cmd(const char *format, ...)
* (stuffing of ' is removed here)
* Return value: the attribute value, or NULL if not present or malformed.
*/
-char *a_Dpip_get_attr(char *tag, size_t tagsize, char *attrname)
+char *a_Dpip_get_attr(char *tag, size_t tagsize, const char *attrname)
{
uint_t i, n = 0, found = 0;
char *p, *q, *start, *val = NULL;