comparison src/callproc.c @ 14438:85fcb510947a

(child_setup): Fix size in write call.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Jan 1996 18:41:57 +0000
parents ee40177f6c68
children c001b28bf068
comparison
equal deleted inserted replaced
14437:8013f6a7080d 14438:85fcb510947a
875 to pass this environment is to set environ. Our caller 875 to pass this environment is to set environ. Our caller
876 is responsible for restoring the ambient value of environ. */ 876 is responsible for restoring the ambient value of environ. */
877 environ = env; 877 environ = env;
878 execvp (new_argv[0], new_argv); 878 execvp (new_argv[0], new_argv);
879 879
880 write (1, "Can't exec program: ", 26); 880 write (1, "Can't exec program: ", 20);
881 write (1, new_argv[0], strlen (new_argv[0])); 881 write (1, new_argv[0], strlen (new_argv[0]));
882 write (1, "\n", 1); 882 write (1, "\n", 1);
883 _exit (1); 883 _exit (1);
884 #endif /* not WINDOWSNT */ 884 #endif /* not WINDOWSNT */
885 #endif /* not MSDOS */ 885 #endif /* not MSDOS */