copyright typo
[unix-history] / usr / src / sys / miscfs / procfs / procfs_vfsops.c
index 2d1599d..ea6b6d5 100644 (file)
@@ -1,14 +1,14 @@
 /*
 /*
- * Copyright (c) 1993 The Regents of the University of California.
  * Copyright (c) 1993 Jan-Simon Pendry
  * Copyright (c) 1993 Jan-Simon Pendry
- * All rights reserved.
+ * Copyright (c) 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Jan-Simon Pendry.
  *
  * %sccs.include.redist.c%
  *
  *
  * This code is derived from software contributed to Berkeley by
  * Jan-Simon Pendry.
  *
  * %sccs.include.redist.c%
  *
- *     @(#)procfs_vfsops.c     8.1 (Berkeley) %G%
+ *     @(#)procfs_vfsops.c     8.4 (Berkeley) %G%
  *
  * From:
  *     $Id: procfs_vfsops.c,v 3.1 1993/12/15 09:40:17 jsp Exp $
  *
  * From:
  *     $Id: procfs_vfsops.c,v 3.1 1993/12/15 09:40:17 jsp Exp $
@@ -44,7 +44,6 @@ procfs_mount(mp, path, data, ndp, p)
        struct proc *p;
 {
        u_int size;
        struct proc *p;
 {
        u_int size;
-       int error;
 
        if (UIO_MX & (UIO_MX-1)) {
                log(LOG_ERR, "procfs: invalid directory entry size");
 
        if (UIO_MX & (UIO_MX-1)) {
                log(LOG_ERR, "procfs: invalid directory entry size");
@@ -61,8 +60,8 @@ procfs_mount(mp, path, data, ndp, p)
        (void) copyinstr(path, (caddr_t)mp->mnt_stat.f_mntonname, MNAMELEN, &size);
        bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size);
 
        (void) copyinstr(path, (caddr_t)mp->mnt_stat.f_mntonname, MNAMELEN, &size);
        bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size);
 
-       size = sizeof("proc") - 1;
-       bcopy("proc", mp->mnt_stat.f_mntfromname, size);
+       size = sizeof("procfs") - 1;
+       bcopy("procfs", mp->mnt_stat.f_mntfromname, size);
        bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size);
 
        return (0);
        bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size);
 
        return (0);