Deleted Added
full compact
fstat.c (154152) fstat.c (167367)
1/*-
2 * Copyright (c) 1988, 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#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
43#endif
44#endif /* not lint */
45#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1988, 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#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
43#endif
44#endif /* not lint */
45#include <sys/cdefs.h>
46__FBSDID("$FreeBSD: head/usr.bin/fstat/fstat.c 154152 2006-01-09 20:42:19Z tegge $");
46__FBSDID("$FreeBSD: head/usr.bin/fstat/fstat.c 167367 2007-03-09 16:21:40Z emaste $");
47
48#include <sys/param.h>
49#include <sys/time.h>
50#include <sys/proc.h>
51#include <sys/user.h>
52#include <sys/stat.h>
53#include <sys/vnode.h>
54#include <sys/socket.h>

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

159
160int
161main(int argc, char **argv)
162{
163 struct passwd *passwd;
164 int arg, ch, what;
165
166 arg = 0;
47
48#include <sys/param.h>
49#include <sys/time.h>
50#include <sys/proc.h>
51#include <sys/user.h>
52#include <sys/stat.h>
53#include <sys/vnode.h>
54#include <sys/socket.h>

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

159
160int
161main(int argc, char **argv)
162{
163 struct passwd *passwd;
164 int arg, ch, what;
165
166 arg = 0;
167 what = KERN_PROC_ALL;
167 what = KERN_PROC_PROC;
168 nlistf = memf = NULL;
169 while ((ch = getopt(argc, argv, "fmnp:u:vN:M:")) != -1)
170 switch((char)ch) {
171 case 'f':
172 fsflg = 1;
173 break;
174 case 'M':
175 memf = optarg;

--- 772 unchanged lines hidden ---
168 nlistf = memf = NULL;
169 while ((ch = getopt(argc, argv, "fmnp:u:vN:M:")) != -1)
170 switch((char)ch) {
171 case 'f':
172 fsflg = 1;
173 break;
174 case 'M':
175 memf = optarg;

--- 772 unchanged lines hidden ---