summaryrefslogtreecommitdiffstats
path: root/contrib/amd/amq
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-25 20:06:03 +0000
committerobrien <obrien@FreeBSD.org>1999-08-25 20:06:03 +0000
commit86916939e3b8f4e38f00f3bb1de0a9c63dddbba0 (patch)
tree22469aeda937ad476dfd846fdce0696895dc320b /contrib/amd/amq
parent7f31d1a62eef790d4e3d2a2fe2d31fe994b34dd0 (diff)
downloadFreeBSD-src-86916939e3b8f4e38f00f3bb1de0a9c63dddbba0.zip
FreeBSD-src-86916939e3b8f4e38f00f3bb1de0a9c63dddbba0.tar.gz
Don't getopt -M option and don't process it unless ENABLE_AMQ_MOUNT is on.
Obtained from: am-utils-6.0.1s11
Diffstat (limited to 'contrib/amd/amq')
-rw-r--r--contrib/amd/amq/amq.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/amd/amq/amq.c b/contrib/amd/amq/amq.c
index a8f0696..25d12fa 100644
--- a/contrib/amd/amq/amq.c
+++ b/contrib/amd/amq/amq.c
@@ -38,7 +38,7 @@
*
* %W% (Berkeley) %G%
*
- * $Id: amq.c,v 1.2 1998/08/23 22:52:08 obrien Exp $
+ * $Id: amq.c,v 1.3 1999/01/13 20:03:56 obrien Exp $
*
*/
@@ -54,7 +54,7 @@ char copyright[] = "\
@(#)Copyright (c) 1990 The Regents of the University of California.\n\
@(#)All rights reserved.\n";
#if __GNUC__ < 2
-static char rcsid[] = "$Id: amq.c,v 1.2 1998/08/23 22:52:08 obrien Exp $";
+static char rcsid[] = "$Id: amq.c,v 1.3 1999/01/13 20:03:56 obrien Exp $";
static char sccsid[] = "%W% (Berkeley) %G%";
#endif /* __GNUC__ < 2 */
#endif /* not lint */
@@ -337,7 +337,11 @@ main(int argc, char *argv[])
/*
* Parse arguments
*/
+#ifdef ENABLE_AMQ_MOUNT
while ((opt_ch = getopt(argc, argv, "fh:l:msuvx:D:M:pP:TU")) != -1)
+#else
+ while ((opt_ch = getopt(argc, argv, "fh:l:msuvx:D:pP:TU")) != -1)
+#endif
switch (opt_ch) {
case 'f':
flush_flag = 1;
OpenPOWER on IntegriCloud