diff src/dmlib.c @ 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 6b2f41844580
children 985225a93aeb
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);