[BACK]Return to loadfile.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / lib / libsa

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/lib/libsa/loadfile.c between version 1.10.2.2 and 1.10.2.3

version 1.10.2.2, 2001/11/14 19:16:51 version 1.10.2.3, 2002/12/11 15:51:03
Line 94 
Line 94 
 #include "loadfile.h"  #include "loadfile.h"
   
 /*  /*
  * Open 'filename', read in program and and return 0 if ok 1 on error.   * Open 'filename', read in program and return the opened file
    * descriptor if ok, or -1 on error.
  * Fill in marks   * Fill in marks
  */   */
 int  int
Line 165  loadfile(fname, marks, flags)
Line 166  loadfile(fname, marks, flags)
         }          }
   
         if (rval == 0) {          if (rval == 0) {
                 PROGRESS(("=0x%lx\n", marks[MARK_END] - marks[MARK_START]));                  if ((flags & LOAD_ALL) != 0)
                           PROGRESS(("=0x%lx\n",
                                     marks[MARK_END] - marks[MARK_START]));
                 return fd;                  return fd;
         }          }
 err:  err:

Legend:
Removed from v.1.10.2.2  
changed lines
  Added in v.1.10.2.3

CVSweb <webmaster@jp.NetBSD.org>