/[gcl]/gcl/o/unexmips.c
ViewVC logotype

Diff of /gcl/o/unexmips.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by camm, Thu Jan 31 19:17:47 2002 UTC revision 1.3 by camm, Sun Feb 9 22:35:18 2003 UTC
# Line 30  the Free Software Foundation, 675 Mass A Line 30  the Free Software Foundation, 675 Mass A
30  #include <sys/file.h>  #include <sys/file.h>
31  #include <sys/stat.h>  #include <sys/stat.h>
32  #include <stdio.h>  #include <stdio.h>
 #include <varargs.h>  
33  #include <filehdr.h>  #include <filehdr.h>
34  #include <aouthdr.h>  #include <aouthdr.h>
35  #include <scnhdr.h>  #include <scnhdr.h>
# Line 324  mark_x (name) Line 323  mark_x (name)
323  }  }
324    
325  static void  static void
326  fatal_unexec (s, va_alist)  fatal_unexec (const char *s, ...)
     va_dcl  
327  {  {
328    va_list ap;    va_list ap;
329    if (errno == EEOF)    if (errno == EEOF)
330      fputs ("unexec: unexpected end of file, ", stderr);      fputs ("unexec: unexpected end of file, ", stderr);
331    else    else
332      fprintf (stderr, "unexec: %s, ", strerror (errno));      fprintf (stderr, "unexec: %s, ", strerror (errno));
333    va_start (ap);    va_start (ap,s);
334    _doprnt (s, ap, stderr);    _doprnt (s, ap, stderr);
335    fputs (".\n", stderr);    fputs (".\n", stderr);
336    exit (1);    exit (1);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26