diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 16:21:28 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 16:21:28 +0100 |
commit | 844bf92148eee21805b9248264b6c2c557529cc5 (patch) | |
tree | 220cbc95f4975da1b3388e33acb1476b5a7c7853 /sysdeps/mach/hurd/spawni.c | |
parent | 19fd8d0d3ebcf84e0e380902e0e2fe720d377f0f (diff) | |
download | glibc-844bf92148eee21805b9248264b6c2c557529cc5.tar glibc-844bf92148eee21805b9248264b6c2c557529cc5.tar.gz glibc-844bf92148eee21805b9248264b6c2c557529cc5.tar.bz2 glibc-844bf92148eee21805b9248264b6c2c557529cc5.zip |
hurd: Fix warning
* sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
const char * instead of char *.
Diffstat (limited to 'sysdeps/mach/hurd/spawni.c')
-rw-r--r-- | sysdeps/mach/hurd/spawni.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/spawni.c b/sysdeps/mach/hurd/spawni.c index aa3b0c4660..9351c13e56 100644 --- a/sysdeps/mach/hurd/spawni.c +++ b/sysdeps/mach/hurd/spawni.c @@ -45,7 +45,8 @@ __spawni (pid_t *pid, const char *file, { pid_t new_pid; char *path, *p, *name; - char *concat_name = NULL, *relpath, *abspath; + char *concat_name = NULL; + const char *relpath, *abspath; int res; size_t len; size_t pathlen; |