quotacheck.c (118582) | quotacheck.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[] = "@(#)quotacheck.c 8.3 (Berkeley) 1/29/94"; 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[] = "@(#)quotacheck.c 8.3 (Berkeley) 1/29/94"; 46#endif /* not lint */ 47#endif 48#include <sys/cdefs.h> |
49__FBSDID("$FreeBSD: head/sbin/quotacheck/quotacheck.c 118582 2003-08-07 05:38:56Z imp $"); | 49__FBSDID("$FreeBSD: head/sbin/quotacheck/quotacheck.c 124830 2004-01-22 07:23:36Z grehan $"); |
50 51/* 52 * Fix up / report on disk quotas & usage 53 */ 54#include <sys/param.h> 55#include <sys/disklabel.h> 56#include <sys/stat.h> 57 --- 87 unchanged lines hidden (view full) --- 145main(argc, argv) 146 int argc; 147 char *argv[]; 148{ 149 struct fstab *fs; 150 struct passwd *pw; 151 struct group *gr; 152 struct quotaname *auxdata; | 50 51/* 52 * Fix up / report on disk quotas & usage 53 */ 54#include <sys/param.h> 55#include <sys/disklabel.h> 56#include <sys/stat.h> 57 --- 87 unchanged lines hidden (view full) --- 145main(argc, argv) 146 int argc; 147 char *argv[]; 148{ 149 struct fstab *fs; 150 struct passwd *pw; 151 struct group *gr; 152 struct quotaname *auxdata; |
153 int i, argnum, maxrun, errs; | 153 int i, argnum, maxrun, errs, ch; |
154 long done = 0; | 154 long done = 0; |
155 char ch, *name; | 155 char *name; |
156 157 errs = maxrun = 0; 158 while ((ch = getopt(argc, argv, "aguvl:")) != -1) { 159 switch(ch) { 160 case 'a': 161 aflag++; 162 break; 163 case 'g': --- 532 unchanged lines hidden --- | 156 157 errs = maxrun = 0; 158 while ((ch = getopt(argc, argv, "aguvl:")) != -1) { 159 switch(ch) { 160 case 'a': 161 aflag++; 162 break; 163 case 'g': --- 532 unchanged lines hidden --- |