diff options
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r-- | libiberty/pexecute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index 60a280b8e47..cce6e300c5d 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -47,7 +47,7 @@ pexecute (const char *program, char * const *argv, const char *pname, { if (pex != NULL) { - *errmsg_fmt = "pexecute already in progress"; + *errmsg_fmt = (char *) "pexecute already in progress"; *errmsg_arg = NULL; return -1; } @@ -58,7 +58,7 @@ pexecute (const char *program, char * const *argv, const char *pname, { if (pex == NULL) { - *errmsg_fmt = "pexecute not in progress"; + *errmsg_fmt = (char *) "pexecute not in progress"; *errmsg_arg = NULL; return -1; } |