]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - lib.c
mdadm: numbered names verification
[thirdparty/mdadm.git] / lib.c
diff --git a/lib.c b/lib.c
index 65ea51e0d66a723ca78cbe3cddbd1b6d52703c91..fe5c8d2ce652866dfb9a35d7087ff2d10b65909d 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -570,7 +570,7 @@ void free_line(char *line)
  *
  * Return: 0 on success, 1 otherwise.
  */
-int parse_num(int *dest, char *num)
+int parse_num(int *dest, const char *num)
 {
        char *c = NULL;
        long temp;