projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
braindamage
[unix-history]
/
usr
/
src
/
sbin
/
mount
/
mount.c
diff --git
a/usr/src/sbin/mount/mount.c
b/usr/src/sbin/mount/mount.c
index
99867a8
..
10657af
100644
(file)
--- a/
usr/src/sbin/mount/mount.c
+++ b/
usr/src/sbin/mount/mount.c
@@
-1,10
+1,12
@@
-static char *sccsid = "@(#)mount.c 4.7 (Berkeley) %G%";
-#include <stdio.h>
-#
include <fstab.h>
+#ifndef lint
+static char *sccsid = "@(#)mount.c 4.8 (Berkeley) %G%";
+#
endif
/*
* mount
*/
/*
* mount
*/
+#include <stdio.h>
+#include <fstab.h>
#define NMOUNT 16
#define NAMSIZ 32
#define NMOUNT 16
#define NAMSIZ 32
@@
-76,7
+78,7
@@
top:
}
exit(0);
}
}
exit(0);
}
- if (argc
< 2 || argc >
3) {
+ if (argc
!=
3) {
argcnt:
fprintf(stderr,
"usage: mount [ -a ] [ -r ] [ -f ] [ -v ] [ special dir ]\n");
argcnt:
fprintf(stderr,
"usage: mount [ -a ] [ -r ] [ -f ] [ -v ] [ special dir ]\n");