Deleted Added
full compact
umount.c (201135) umount.c (201252)
1/*-
2 * Copyright (c) 1980, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

33 The Regents of the University of California. All rights reserved.\n";
34#endif /* not lint */
35
36#ifndef lint
37#if 0
38static char sccsid[] = "@(#)umount.c 8.8 (Berkeley) 5/8/95";
39#endif
40static const char rcsid[] =
1/*-
2 * Copyright (c) 1980, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

33 The Regents of the University of California. All rights reserved.\n";
34#endif /* not lint */
35
36#ifndef lint
37#if 0
38static char sccsid[] = "@(#)umount.c 8.8 (Berkeley) 5/8/95";
39#endif
40static const char rcsid[] =
41 "$FreeBSD: head/sbin/umount/umount.c 201135 2009-12-28 17:57:37Z delphij $";
41 "$FreeBSD: head/sbin/umount/umount.c 201252 2009-12-30 06:36:42Z ed $";
42#endif /* not lint */
43
44#include <sys/param.h>
45#include <sys/mount.h>
46#include <sys/socket.h>
47#include <sys/stat.h>
48
49#include <netdb.h>

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

583int
584xdr_dir(XDR *xdrsp, char *dirp)
585{
586
587 return (xdr_string(xdrsp, &dirp, MNTPATHLEN));
588}
589
590void
42#endif /* not lint */
43
44#include <sys/param.h>
45#include <sys/mount.h>
46#include <sys/socket.h>
47#include <sys/stat.h>
48
49#include <netdb.h>

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

583int
584xdr_dir(XDR *xdrsp, char *dirp)
585{
586
587 return (xdr_string(xdrsp, &dirp, MNTPATHLEN));
588}
589
590void
591usage()
591usage(void)
592{
593
594 (void)fprintf(stderr, "%s\n%s\n",
595 "usage: umount [-fv] special | node | fsid",
596 " umount -a | -A [-F fstab] [-fv] [-h host] [-t type]");
597 exit(1);
598}
592{
593
594 (void)fprintf(stderr, "%s\n%s\n",
595 "usage: umount [-fv] special | node | fsid",
596 " umount -a | -A [-F fstab] [-fv] [-h host] [-t type]");
597 exit(1);
598}