changeset 957:b66653c9acb3

Oops, forgot to add const in the actual function .. 100L.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Feb 2015 02:21:57 +0200
parents d4e411192238
children 985225a93aeb
files src/dmlib.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmlib.c	Fri Feb 27 01:04:02 2015 +0200
+++ b/src/dmlib.c	Fri Feb 27 02:21:57 2015 +0200
@@ -156,7 +156,7 @@
 }
 
 
-const char *dmErrorStr(int error)
+const char *dmErrorStr(const int error)
 {
     if (error >= DM_SYSTEM_ERRORS)
         return strerror(error - DM_SYSTEM_ERRORS);