summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 8a096f51..fb46f607 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -238,7 +238,7 @@ _parse_strlist (char *arg,
static void
parse_strlist (char *arg,
void (*add_fn)(char *str),
- char *(*default_fn)(),
+ const char *(*default_fn)(),
char *type_name)
{
void default_str_add() { (*add_fn)((*default_fn)()); }