Add const to avoid warning.
authordrepper <drepper>
Sat, 26 Jul 2008 07:54:29 +0000 (07:54 +0000)
committerdrepper <drepper>
Sat, 26 Jul 2008 07:54:29 +0000 (07:54 +0000)
sysdeps/unix/sysv/linux/dl-origin.c

index 5dacec6..fdb6372 100644 (file)
@@ -38,7 +38,7 @@ _dl_get_origin (void)
 #ifndef __ASSUME_AT_EXECFN
   char linkval[PATH_MAX];
 #endif
-  char *str;
+  const char *str;
   char *result = (char *) -1l;
   int len;