summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-05-27 10:56:47 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-05-27 10:56:47 +0200
commit2e7e42af61fea74bfbb40abdc8318366638672fb (patch)
tree837bb2f10a22d48d3e90ff346e0f14b12fd1ab47
parent62ba03bbc77d22f33e7abd3e3a066310f90fbbc9 (diff)
flowtop: Constify function parameter in walk_process()
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--flowtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowtop.c b/flowtop.c
index 5a283f7..5f7b7d5 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -393,7 +393,7 @@ static void flow_list_destroy(struct flow_list *fl)
spinlock_destroy(&fl->lock);
}
-static int walk_process(char *process, struct flow_entry *n)
+static int walk_process(const char *process, struct flow_entry *n)
{
int ret;
DIR *dir;