[BACK]Return to fstab.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

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

Diff for /src/lib/libc/gen/fstab.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 1993/03/21 09:45:37 version 1.1.1.2, 1995/02/25 09:11:33
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1980, 1988 Regents of the University of California.   * Copyright (c) 1980, 1988, 1993
  * All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 32 
Line 32 
  */   */
   
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)fstab.c     5.15 (Berkeley) 2/23/91";  static char sccsid[] = "@(#)fstab.c     8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
 #include <sys/errno.h>  #include <errno.h>
 #include <fstab.h>  #include <fstab.h>
 #include <unistd.h>  
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   #include <unistd.h>
   
 static FILE *_fs_fp;  static FILE *_fs_fp;
 static struct fstab _fs_fstab;  static struct fstab _fs_fstab;
 static error();  
   static error __P((int));
   static fstabscan __P((void));
   
 static  static
 fstabscan()  fstabscan()
Line 193  error(err)
Line 195  error(err)
   
         (void)write(STDERR_FILENO, "fstab: ", 7);          (void)write(STDERR_FILENO, "fstab: ", 7);
         (void)write(STDERR_FILENO, _PATH_FSTAB, sizeof(_PATH_FSTAB) - 1);          (void)write(STDERR_FILENO, _PATH_FSTAB, sizeof(_PATH_FSTAB) - 1);
           (void)write(STDERR_FILENO, ": ", 1);
         p = strerror(err);          p = strerror(err);
         (void)write(STDERR_FILENO, p, strlen(p));          (void)write(STDERR_FILENO, p, strlen(p));
         (void)write(STDERR_FILENO, "\n", 1);          (void)write(STDERR_FILENO, "\n", 1);

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>