Deleted Added
full compact
repquota.c (117318) repquota.c (124830)
1/*
2 * Copyright (c) 1980, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Robert Elz at The University of Melbourne.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 The Regents of the University of California. All rights reserved.\n";
42#endif /* not lint */
43
44#ifndef lint
45static char sccsid[] = "@(#)repquota.c 8.1 (Berkeley) 6/6/93";
46#endif /* not lint */
47#endif
48#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1980, 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Robert Elz at The University of Melbourne.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 The Regents of the University of California. All rights reserved.\n";
42#endif /* not lint */
43
44#ifndef lint
45static char sccsid[] = "@(#)repquota.c 8.1 (Berkeley) 6/6/93";
46#endif /* not lint */
47#endif
48#include <sys/cdefs.h>
49__FBSDID("$FreeBSD: head/usr.sbin/repquota/repquota.c 117318 2003-07-07 21:41:23Z brooks $");
49__FBSDID("$FreeBSD: head/usr.sbin/repquota/repquota.c 124830 2004-01-22 07:23:36Z grehan $");
50
51/*
52 * Quota report
53 */
54#include <sys/param.h>
55#include <ufs/ufs/quota.h>
56#include <err.h>
57#include <errno.h>

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

105static void usage(void);
106
107int
108main(int argc, char **argv)
109{
110 register struct fstab *fs;
111 register struct passwd *pw;
112 register struct group *gr;
50
51/*
52 * Quota report
53 */
54#include <sys/param.h>
55#include <ufs/ufs/quota.h>
56#include <err.h>
57#include <errno.h>

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

105static void usage(void);
106
107int
108main(int argc, char **argv)
109{
110 register struct fstab *fs;
111 register struct passwd *pw;
112 register struct group *gr;
113 int gflag = 0, uflag = 0, errs = 0;
113 int ch, gflag = 0, uflag = 0, errs = 0;
114 long i, argnum, done = 0;
114 long i, argnum, done = 0;
115 char ch, *qfnp;
115 char *qfnp;
116
117 while ((ch = getopt(argc, argv, "agnuv")) != -1) {
118 switch(ch) {
119 case 'a':
120 aflag++;
121 break;
122 case 'g':
123 gflag++;

--- 289 unchanged lines hidden ---
116
117 while ((ch = getopt(argc, argv, "agnuv")) != -1) {
118 switch(ch) {
119 case 'a':
120 aflag++;
121 break;
122 case 'g':
123 gflag++;

--- 289 unchanged lines hidden ---