Deleted Added
full compact
main.c (95258) main.c (102231)
1/*
2 * Copyright (C) 1995 Wolfgang Solfrank
3 * Copyright (c) 1995 Martin Husemann
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

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

30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33
34#include <sys/cdefs.h>
35#ifndef lint
36__RCSID("$NetBSD: main.c,v 1.10 1997/10/01 02:18:14 enami Exp $");
37static const char rcsid[] =
1/*
2 * Copyright (C) 1995 Wolfgang Solfrank
3 * Copyright (c) 1995 Martin Husemann
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

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

30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33
34#include <sys/cdefs.h>
35#ifndef lint
36__RCSID("$NetBSD: main.c,v 1.10 1997/10/01 02:18:14 enami Exp $");
37static const char rcsid[] =
38 "$FreeBSD: head/sbin/fsck_msdosfs/main.c 95258 2002-04-22 13:44:47Z des $";
38 "$FreeBSD: head/sbin/fsck_msdosfs/main.c 102231 2002-08-21 18:11:48Z trhodes $";
39#endif /* not lint */
40
41#include <stdlib.h>
42#include <string.h>
43#include <ctype.h>
44#include <stdio.h>
45#include <unistd.h>
46#include <errno.h>

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

54int preen; /* set when preening */
55int rdonly; /* device is opened read only (supersedes above) */
56
57static void usage(void) __dead2;
58
59static void
60usage()
61{
39#endif /* not lint */
40
41#include <stdlib.h>
42#include <string.h>
43#include <ctype.h>
44#include <stdio.h>
45#include <unistd.h>
46#include <errno.h>

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

54int preen; /* set when preening */
55int rdonly; /* device is opened read only (supersedes above) */
56
57static void usage(void) __dead2;
58
59static void
60usage()
61{
62 errexit("usage: fsck_msdos [-fnpy] filesystem ... \n");
62 errexit("usage: fsck_msdos [-fnpy] file system ... \n");
63}
64
65int
66main(int argc, char **argv)
67{
68 int ret = 0, erg;
69 int ch;
70

--- 81 unchanged lines hidden ---
63}
64
65int
66main(int argc, char **argv)
67{
68 int ret = 0, erg;
69 int ch;
70

--- 81 unchanged lines hidden ---