summaryrefslogtreecommitdiffstats
path: root/contrib/amd/fixmount
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-01-13 19:23:16 +0000
committerobrien <obrien@FreeBSD.org>1999-01-13 19:23:16 +0000
commitc9384f1d982e4695904ef82271714a049cd32827 (patch)
tree61bf33c6051ae2a19db07aea7c3c0ed78913fe61 /contrib/amd/fixmount
parentc6e3533e1e31cbf25e04688d244a8fc2af2e1972 (diff)
downloadFreeBSD-src-c9384f1d982e4695904ef82271714a049cd32827.zip
FreeBSD-src-c9384f1d982e4695904ef82271714a049cd32827.tar.gz
Virgin import of AMD (am-utils) v6.0
Diffstat (limited to 'contrib/amd/fixmount')
-rw-r--r--contrib/amd/fixmount/fixmount.82
-rw-r--r--contrib/amd/fixmount/fixmount.c11
2 files changed, 8 insertions, 5 deletions
diff --git a/contrib/amd/fixmount/fixmount.8 b/contrib/amd/fixmount/fixmount.8
index f9a87f0..c1b1570 100644
--- a/contrib/amd/fixmount/fixmount.8
+++ b/contrib/amd/fixmount/fixmount.8
@@ -38,7 +38,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
-.\" $Id: fixmount.8,v 5.2.2.1 1992/02/09 15:11:15 jsp beta $
+.\" $Id: fixmount.8,v 1.1.1.1 1998/11/05 02:04:53 ezk Exp $
.\"
.TH FIXMOUNT 8L "26 Feb 1993"
.SH NAME
diff --git a/contrib/amd/fixmount/fixmount.c b/contrib/amd/fixmount/fixmount.c
index 0bb51f9..676ac10 100644
--- a/contrib/amd/fixmount/fixmount.c
+++ b/contrib/amd/fixmount/fixmount.c
@@ -17,7 +17,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -38,7 +38,7 @@
*
* %W% (Berkeley) %G%
*
- * $Id: fixmount.c,v 5.2.2.2 1992/05/31 16:35:45 jsp Exp $
+ * $Id: fixmount.c,v 1.2 1998/12/27 06:25:20 ezk Exp $
*
*/
@@ -87,11 +87,14 @@ void print_dump(mountlist);
void usage(void);
/* dummy variables */
+#if 0
char *progname;
char hostname[MAXHOSTNAMELEN];
-int orig_umask, foreground, debug_flags;
pid_t mypid;
serv_state amd_state;
+int foreground, orig_umask;
+int debug_flags;
+#endif
void
usage(void)
@@ -288,7 +291,7 @@ main(int argc, char *argv[])
register int rpcs = 0;
struct timeval tv;
- while ((ch = getopt(argc, argv, "adervAqfh:")) != EOF)
+ while ((ch = getopt(argc, argv, "adervAqfh:")) != -1)
switch ((char) ch) {
case 'a':
OpenPOWER on IntegriCloud