]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bpipe.c
Add const for Solaris' C++ compiler
[bacula/bacula] / bacula / src / lib / bpipe.c
index 831731d5b57865334eb7f78f529bddab51ccb9ef..cc176f031c7df341d33883e241ae867dc94bb11e 100644 (file)
@@ -41,7 +41,7 @@ static void build_argc_argv(char *cmd, int *bargc, char *bargv[], int max_arg);
  *   a bi-directional pipe so that the user can read from and
  *   write to the program. 
  */
-BPIPE *open_bpipe(char *prog, int wait, char *mode)
+BPIPE *open_bpipe(char *prog, int wait, const char *mode)
 {
    char *bargv[MAX_ARGV];
    int bargc, i;