Deleted Added
full compact
mount_nfs.c (23680) mount_nfs.c (24359)
1/*
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40 The Regents of the University of California. All rights reserved.\n";
41#endif /* not lint */
42
43#ifndef lint
44/*
45static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
46*/
47static const char rcsid[] =
1/*
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40 The Regents of the University of California. All rights reserved.\n";
41#endif /* not lint */
42
43#ifndef lint
44/*
45static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
46*/
47static const char rcsid[] =
48 "$Id: mount_nfs.c,v 1.16 1997/02/22 14:32:48 peter Exp $";
48 "$Id: mount_nfs.c,v 1.17 1997/03/11 12:31:56 peter Exp $";
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/mount.h>
53#include <sys/socket.h>
54#include <sys/socketvar.h>
55#include <sys/stat.h>
56#include <sys/syslog.h>

--- 161 unchanged lines hidden (view full) ---

218#endif /* NFSKERB */
219 retrycnt = DEF_RETRY;
220
221 mntflags = 0;
222 altflags = 0;
223 nfsargs = nfsdefargs;
224 nfsargsp = &nfsargs;
225 while ((c = getopt(argc, argv,
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/mount.h>
53#include <sys/socket.h>
54#include <sys/socketvar.h>
55#include <sys/stat.h>
56#include <sys/syslog.h>

--- 161 unchanged lines hidden (view full) ---

218#endif /* NFSKERB */
219 retrycnt = DEF_RETRY;
220
221 mntflags = 0;
222 altflags = 0;
223 nfsargs = nfsdefargs;
224 nfsargsp = &nfsargs;
225 while ((c = getopt(argc, argv,
226 "3a:bcdD:g:I:iKL:lm:o:PpqR:r:sTt:w:x:U")) != EOF)
226 "3a:bcdD:g:I:iKL:lm:o:PpqR:r:sTt:w:x:U")) != -1)
227 switch (c) {
228 case '3':
229 nfsargsp->flags |= NFSMNT_NFSV3;
230 break;
231 case 'a':
232 num = strtol(optarg, &p, 10);
233 if (*p || num < 0)
234 errx(1, "illegal -a value -- %s", optarg);

--- 543 unchanged lines hidden ---
227 switch (c) {
228 case '3':
229 nfsargsp->flags |= NFSMNT_NFSV3;
230 break;
231 case 'a':
232 num = strtol(optarg, &p, 10);
233 if (*p || num < 0)
234 errx(1, "illegal -a value -- %s", optarg);

--- 543 unchanged lines hidden ---