aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index a161b4af100..042de2acf80 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2854,8 +2854,7 @@ emacs_perror (char const *message)
2854{ 2854{
2855 int err = errno; 2855 int err = errno;
2856 char const *error_string = emacs_strerror (err); 2856 char const *error_string = emacs_strerror (err);
2857 char const *command = (initial_argv && initial_argv[0] 2857 char const *command = (initial_argv0 ? initial_argv0 : "emacs");
2858 ? initial_argv[0] : "emacs");
2859 /* Write it out all at once, if it's short; this is less likely to 2858 /* Write it out all at once, if it's short; this is less likely to
2860 be interleaved with other output. */ 2859 be interleaved with other output. */
2861 char buf[min (PIPE_BUF, MAX_ALLOCA)]; 2860 char buf[min (PIPE_BUF, MAX_ALLOCA)];