summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quotaon/quotaon.c
Commit message (Collapse)AuthorAgeFilesLines
* More -Wmissing-variable-declarations fixes.ed2012-10-191-10/+9
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* Simply use getprogname() to obtain the name of the process.ed2012-01-031-4/+2
|
* IFH@204581des2010-03-041-3/+1
|\
| * ANSIfy some more tools in usr.sbin/.ed2010-01-021-4/+1
| | | | | | | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations.
* | Convert quotaon/quotaoff to use the new quotafile functions.mckusick2009-11-161-96/+26
|/
* Drag this code kicking and screaming into the twenty-first century.des2008-07-021-12/+6
|
* If two files systems, /a and /b are marked as having quotas enabledmpp2007-02-041-8/+21
| | | | | | | | | | | | | in fstab and they are normally mounted as /a/b, if /b is not mounted, the various quota utilities will incorrectly operate with the quotas on /a (silently) when operations are attemted on /b. Sync up all the hasquota() routines between all the different quota utilities and change it to detect if the file system we are attempting to perform quota operations on is not currently mounted and warn the user accordingly. PR: bin/38918
* Display the name of the quota data file in verbose mode.mpp2007-01-241-2/+2
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-4/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Userland signed char fixes for PPC build. Problems were using a chargrehan2004-01-221-2/+2
| | | | | | | | | return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* WARNS=4, de-__P()alfred2002-07-111-10/+8
|
* Consistancy check: s/file system/filesystem/gtrhodes2002-05-161-2/+2
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtints (e.g., exit, strcmp).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use err(3). Add prototypes. Cosmetic in usage string.charnier1997-10-131-24/+38
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+251
OpenPOWER on IntegriCloud