fix error message
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Sat, 19 Feb 1994 02:19:08 +0000 (18:19 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Sat, 19 Feb 1994 02:19:08 +0000 (18:19 -0800)
SCCS-vsn: sbin/mount_procfs/mount_procfs.c 8.2
SCCS-vsn: sbin/mount_null/mount_null.c 8.3

usr/src/sbin/mount_null/mount_null.c
usr/src/sbin/mount_procfs/mount_procfs.c

index 4f3a828..586ffc7 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)mount_null.c        8.2 (Berkeley) %G%
+ *     @(#)mount_null.c        8.3 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -50,7 +50,7 @@ main(argc, argv)
                usage();
 
        if (realpath(argv[0], target) == 0) {
                usage();
 
        if (realpath(argv[0], target) == 0) {
-               (void)fprintf(stderr, "mount_lofs: %s: %s\n",
+               (void)fprintf(stderr, "mount_null: %s: %s\n",
                                target, strerror(errno));
                exit(1);
        }
                                target, strerror(errno));
                exit(1);
        }
index d782ae4..b7b99d1 100644 (file)
@@ -8,7 +8,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)mount_procfs.c      8.1 (Berkeley) %G%
+ *     @(#)mount_procfs.c      8.2 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
@@ -46,7 +46,7 @@ main(argc, argv)
                usage();
 
        if (mount(MOUNT_PROCFS, argv[1], mntflags, NULL)) {
                usage();
 
        if (mount(MOUNT_PROCFS, argv[1], mntflags, NULL)) {
-               (void)fprintf(stderr, "mount_fdesc: %s\n", strerror(errno));
+               (void)fprintf(stderr, "mount_procfs: %s\n", strerror(errno));
                exit(1);
        }
        exit(0);
                exit(1);
        }
        exit(0);