mtree.c (114601) | mtree.c (121299) |
---|---|
1/*- 2 * Copyright (c) 1989, 1990, 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 --- 29 unchanged lines hidden (view full) --- 38 The Regents of the University of California. All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93"; 43#endif /* not lint */ 44#endif 45#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1989, 1990, 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 --- 29 unchanged lines hidden (view full) --- 38 The Regents of the University of California. All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93"; 43#endif /* not lint */ 44#endif 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/usr.sbin/mtree/mtree.c 114601 2003-05-03 21:06:42Z obrien $"); | 46__FBSDID("$FreeBSD: head/usr.sbin/mtree/mtree.c 121299 2003-10-21 07:58:52Z phk $"); |
47 48#include <sys/param.h> 49#include <sys/stat.h> 50#include <err.h> 51#include <errno.h> 52#include <fts.h> 53#include <stdio.h> 54#include <unistd.h> --- 108 unchanged lines hidden (view full) --- 163 } 164 status = verify(); 165 if (Uflag & (status == MISMATCHEXIT)) 166 status = 0; 167 exit(status); 168} 169 170static void | 47 48#include <sys/param.h> 49#include <sys/stat.h> 50#include <err.h> 51#include <errno.h> 52#include <fts.h> 53#include <stdio.h> 54#include <unistd.h> --- 108 unchanged lines hidden (view full) --- 163 } 164 status = verify(); 165 if (Uflag & (status == MISMATCHEXIT)) 166 status = 0; 167 exit(status); 168} 169 170static void |
171usage() | 171usage(void) |
172{ 173 (void)fprintf(stderr, 174"usage: mtree [-LPUcdeinqrux] [-f spec] [-K key] [-k key] [-p path] [-s seed]\n" 175"\t[-X excludes]\n"); 176 exit(1); 177} | 172{ 173 (void)fprintf(stderr, 174"usage: mtree [-LPUcdeinqrux] [-f spec] [-K key] [-k key] [-p path] [-s seed]\n" 175"\t[-X excludes]\n"); 176 exit(1); 177} |