From 98359a035e639493605b08632717e9253349a477 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 19 Aug 1988 14:20:03 +0000 Subject: [PATCH] make easier to patch --- mach/mantra/int/em.c | 4 ++-- mach/pdp/int/em.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mach/mantra/int/em.c b/mach/mantra/int/em.c index 846b87058..7a4f782a9 100644 --- a/mach/mantra/int/em.c +++ b/mach/mantra/int/em.c @@ -26,7 +26,7 @@ struct header { #define PROFILE 002 #define FLOW 004 #define COUNT 010 - +char em_dir[64] = EM_DIR; /* easier to patch */ char *defargv[] = { "em", "e.out", @@ -106,7 +106,7 @@ main(argc,argv) char **argv; { else flags[3]= header.h_flags&PROFILE ? 'p' : '-'; sprintf(interpret,"%s/lib/em%d%d/em_%s", - EM_DIR,header.h_wsize,header.h_psize,flags); + em_dir,header.h_wsize,header.h_psize,flags); execv(interpret,argv); fprintf(stderr,"Interpreter %s not available\n",interpret); } diff --git a/mach/pdp/int/em.c b/mach/pdp/int/em.c index 846b87058..7a4f782a9 100644 --- a/mach/pdp/int/em.c +++ b/mach/pdp/int/em.c @@ -26,7 +26,7 @@ struct header { #define PROFILE 002 #define FLOW 004 #define COUNT 010 - +char em_dir[64] = EM_DIR; /* easier to patch */ char *defargv[] = { "em", "e.out", @@ -106,7 +106,7 @@ main(argc,argv) char **argv; { else flags[3]= header.h_flags&PROFILE ? 'p' : '-'; sprintf(interpret,"%s/lib/em%d%d/em_%s", - EM_DIR,header.h_wsize,header.h_psize,flags); + em_dir,header.h_wsize,header.h_psize,flags); execv(interpret,argv); fprintf(stderr,"Interpreter %s not available\n",interpret); }