Joerg Sonnenberger [Fri, 23 Jul 2004 14:09:31 +0000 (14:09 +0000)]
Comment out extra token at end of #endif.
Joerg Sonnenberger [Fri, 23 Jul 2004 14:07:46 +0000 (14:07 +0000)]
Instead of casting the function, cast the argument to the (correct) type.
Hiten Pandya [Fri, 23 Jul 2004 13:19:42 +0000 (13:19 +0000)]
It is 'estcpu', not 'setcpu'.
Eirik Nygaard [Fri, 23 Jul 2004 13:03:20 +0000 (13:03 +0000)]
Fix build with gcc34.
Reported by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Joerg Sonnenberger [Fri, 23 Jul 2004 11:54:14 +0000 (11:54 +0000)]
Add RC4 to the crypto module / device. This will be used by the generic
802.11 layer.
Joerg Sonnenberger [Fri, 23 Jul 2004 11:46:50 +0000 (11:46 +0000)]
Regenerate.
Joerg Sonnenberger [Fri, 23 Jul 2004 11:46:09 +0000 (11:46 +0000)]
Sync with FreeBSD 5-CURRENT.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 09:26:08 +0000 (09:26 +0000)]
Add WARNS and set to level 3.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 09:24:00 +0000 (09:24 +0000)]
Initialise to NULL to silence gcc.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:57:48 +0000 (07:57 +0000)]
Make the second argument of interval() const, since it is not changed
at all in its use.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:43:26 +0000 (07:43 +0000)]
Fix two sign comparison mistakes.
Synchronises with: FreeBSD v1.15 with the notable exception of making
i an unsigned integer since it need not be negative
and casting nhosts (a size_t and thus unsigned) to
it is just the other way around and throws away half
of the type. Granted, the chance that you have more
than
2147483647 hosts (if assuming 32 bit) is a bit
much, nonetheless, this is the right way to do it in
my opinion.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:24:35 +0000 (07:24 +0000)]
Use proper ANSI function definitions.
Synchronises with: FreeBSD v1.15
Submitted by: Douwe Kiela <virtus@wanadoo.nl> (in principle)
Joerg Sonnenberger [Fri, 23 Jul 2004 07:16:31 +0000 (07:16 +0000)]
Unify the input handling of the low-level network stack by introducing
a new field if_input in struct ifnet.
Initialize if_input and if_output in the low-level _ifattach routines.
Make the _output and _input routines static, they are now called via
(*ifp->if_input) and (*ifp->if_output) accordingly. The exception is
ether_input which is still used with the second argument, the pointer
to the Ethernet header instead of always taking it from the mbuf.
Move the if_attach and bpfattach from the devices into fddi_ifattach,
atm_ifattach.
Remove the first argument to VLAN_INPUT_TAG, the pointer to the
Ethernet header. Expect it at the beginning of the mbuf.
Adjust the network for the changed API. Exceptions are wl(4), le(4),
ie(4), el(4), ed(4) and de(4), because they use a on-stack Ethernet
header. Another exception is the ATM stack, which uses a fourth argument
to atm_input.
Inspired-by: NetBSd net/if.h, rev 1.36
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:12:28 +0000 (07:12 +0000)]
Move a perror() to warn().
Synchronises with: FreeBSD v1.29 (partially)
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:11:03 +0000 (07:11 +0000)]
Use err() instead of a perror()/exit() combination.
Synchronises with: FreeBSD v1.52 (partially)
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Hiten Pandya [Fri, 23 Jul 2004 06:43:05 +0000 (06:43 +0000)]
Assorted spelling fixes from Christian Brueffer <brueffer@freebsd.org>.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 06:36:47 +0000 (06:36 +0000)]
Correct usage of the cvsup command.
Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Hiten Pandya [Fri, 23 Jul 2004 06:29:27 +0000 (06:29 +0000)]
Add new options to select different registries, basically synch'ing us
with FreeBSD.
Document the newly added options in the manual page.
Obtained from FreeBSD via Liam J. Foy <liamfoy@kerneled.org>.
Hiten Pandya [Fri, 23 Jul 2004 06:24:27 +0000 (06:24 +0000)]
Respect locale settings from the environment.
Obtained from FreeBSD via Liam J. Foy <liamfoy@kerneled.org>.
Hiten Pandya [Fri, 23 Jul 2004 06:23:06 +0000 (06:23 +0000)]
Mechanically kill hard sentence breaks.
Obtained from FreeBSD, via Liam J. Foy <liamfoy@kerneled.org>.
Eirik Nygaard [Thu, 22 Jul 2004 14:50:19 +0000 (14:50 +0000)]
Forced commit to note that this fixes was submitted by: "Liam J. Foy"
<liamfoy@sepulcrum.org>
Eirik Nygaard [Thu, 22 Jul 2004 14:49:15 +0000 (14:49 +0000)]
* Remove one of the two err.h include statements.
* errx() adds it's own newline, remove the one in the string.
Hiten Pandya [Thu, 22 Jul 2004 14:30:07 +0000 (14:30 +0000)]
Fix compiler warnings; include <sys/types.h> and <netinet/in.h> to satisfy
<arpa/inet.h> header file.
Hiten Pandya [Thu, 22 Jul 2004 14:05:07 +0000 (14:05 +0000)]
Include <sys/types.h> and <netinet/in.h>, so that parse.y gets the correct
definitions; also fix compiler warnings.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:42:24 +0000 (13:42 +0000)]
Raise WARNS to level 6.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:42:06 +0000 (13:42 +0000)]
Make usage() static.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:41:25 +0000 (13:41 +0000)]
Rework the WARNS levels per FreeBSD's CURRENT source.
This introduces WARNS level 2, 3, and 5.
Tested with: GCC 2.95.4
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:19:26 +0000 (13:19 +0000)]
Actually mark the function itself static as well.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:09:02 +0000 (13:09 +0000)]
Mark filescope functions static.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:56:58 +0000 (12:56 +0000)]
Mark the variables defined at file scope static.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:35:11 +0000 (12:35 +0000)]
Garbage collect two unused variables (SaveFs, CountCopiedBytes).
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:23:54 +0000 (12:23 +0000)]
Make setthetime() static per the prototype.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:23:05 +0000 (12:23 +0000)]
Also mark the function itself static, not just the prototype.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:20:25 +0000 (12:20 +0000)]
Make scanfiles() static since it is limited to the file scope.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:52:33 +0000 (11:52 +0000)]
Make f_stream static.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:49:38 +0000 (11:49 +0000)]
Use static on file scoped function prototypes and variables.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:41:56 +0000 (11:41 +0000)]
Garbage collect RETAINBITS, not used anywhere.
Found by: cscout
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:39:02 +0000 (11:39 +0000)]
Make unit_adjust() static as per its prototype.
Found by: cscout
David Rhodus [Wed, 21 Jul 2004 17:19:35 +0000 (17:19 +0000)]
DragonFly MP support, not fbsd anymore.
David Rhodus [Wed, 21 Jul 2004 16:13:43 +0000 (16:13 +0000)]
Cleanout __FreeBSD__ defines which are not needed.
David Rhodus [Wed, 21 Jul 2004 15:28:16 +0000 (15:28 +0000)]
Cleanout __FreeBSD__ defines which we don't need.
David Rhodus [Wed, 21 Jul 2004 15:26:20 +0000 (15:26 +0000)]
Remove __FreeBSD__ defines which were not needed and caused compile
time warnings.
Joerg Sonnenberger [Wed, 21 Jul 2004 13:34:27 +0000 (13:34 +0000)]
Remove unused variable _PATCHES.
Hiten Pandya [Wed, 21 Jul 2004 12:44:25 +0000 (12:44 +0000)]
Aesthatical change, move 'All rights reserved' to the same line as
the Copyright.
Joerg Sonnenberger [Wed, 21 Jul 2004 10:45:21 +0000 (10:45 +0000)]
Add handling of patches to the module framework.
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:21:01 +0000 (07:21 +0000)]
Document PCIY_xxx.
Synchs with FreeBSD v1.34.
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:15:37 +0000 (07:15 +0000)]
Inspired by rev 1.33 of FreeBSD, but which was not documented:
remove unused definitions (thanks to glimpse for verification)
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 06:56:48 +0000 (06:56 +0000)]
Add identifiers for Serial Attached SCSI per dicussion with the PCI SIG
chairman (includes vendor specific and serial storage bus codes).
Matthew Dillon [Wed, 21 Jul 2004 02:07:23 +0000 (02:07 +0000)]
Replace the perl man filter with a sed man filter, fixing manual page
generation for dhclient during a buildworld.
Patch-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@les.ath.cx>
Reported-by: "M. Schatzl" <lists@neuronenwerk.de>
Matthew Dillon [Wed, 21 Jul 2004 01:25:18 +0000 (01:25 +0000)]
Fix a device pager leak for the case where the page already exists in the
VM object (typical case: multiple mappings of the device?). If the page
already exists we simply update its physical address. It is unclear whether
the physical address would ever actually be different, however.
This is an untested patch.
Original-patch-written-by: Christian Zander @ NVIDIA
Workaround-suggested-by: Tor Egge <tegge@freebsd.org>
Submitted-by: Emiel Kollof <coolvibe@hackerheaven.org>
Matthew Dillon [Tue, 20 Jul 2004 18:48:02 +0000 (18:48 +0000)]
Add a dire warning about PCI_ENABLE_IO_MODES.
Matthew Dillon [Tue, 20 Jul 2004 17:55:33 +0000 (17:55 +0000)]
ata-raid associates raw ata disk devices to record the raid setup and checks
for the existance of an associated si_disk structure to determine whether
the associations remain valid. In DragonFly the abstracted 'disk' layer
is now above the raw drive device rather then integrated with the raw drive
device and thus the raw device does not have an si_disk association. Change
the conditionals to simply check for the existance of the device.
The prior check was resulting in drives being marked damaged in the raid
when they weren't, making the raid unusable and requiring a complete rebuild.
Though it is possible to rebuild and regenerate the labels (e.g. using
scan_ffs) without losing data, it is painfull to have to do it.
Reported-painfully-by: Andrew Atrens <atrens@nortelnetworks.com>
Joerg Sonnenberger [Tue, 20 Jul 2004 14:43:34 +0000 (14:43 +0000)]
Add llc_snap shortcut.
Obtained-from: FreeBSD
Matthew Dillon [Tue, 20 Jul 2004 04:12:08 +0000 (04:12 +0000)]
Unconditionally print startup 8254 and TSC calibrations.
Add the hw.i8254 sysctl node which returns systimer statistics. In
particular, hw.i8254.timestamp generates both an 8254 and a TSC timestamp
and can be used to check whether the 8254 timer 2 has gone whacko or not.
Hiten Pandya [Tue, 20 Jul 2004 03:35:27 +0000 (03:35 +0000)]
Display proper information when the verbose flag (-v) is passed to
vnconfig(8).
It was showing '0 bytes on...' when a size flag (-S) was not given,
for example when you want to mount an ISO.
Matthew Dillon [Tue, 20 Jul 2004 03:08:23 +0000 (03:08 +0000)]
SCSI CD devices require 'cd0c' to be specified instead of 'cd0a', while
ATA devices allow either 'acd0c' or 'acd0a'. Change the CD root automount
sequence to use 'c' instead of 'a' in order to properly mount both SCSI
and ATA CDRom drives.
Hiten Pandya [Tue, 20 Jul 2004 02:59:18 +0000 (02:59 +0000)]
Minor KNF/style cleanups. No operational changes.
Matthew Dillon [Mon, 19 Jul 2004 23:30:38 +0000 (23:30 +0000)]
MAJOR BOOT CODE REVAMP / 30 hour+ hacking session (50 if you include the
attempt I made last month).
* Document the code wherever possible. The previous code had lots of
basically useless comments.
* Consolidate constants and calculations into a single header file. The
previous code separately defined the constants, did not document the
relationships (which is why it took 30+ hours to fix), and often used
unrelated numerical optimizations to get from one constant def to another.
* Most address ORG values can now be modified in one place (bootasm.h) and
the boot code will actually still work. Note, however, that many ORG
values must still be < 0x10000 due to the lack of segment register use in
16 bit code. This can be fixed with additional work, but not in this
commit.
* Provide two alternative address ORG relocations for experimentation
purposes.
* Fix what I believe to be a bug in boot2/boot2.c. Boot2.c was accessing
the drive/slice data stored by boot1 using the base-offset-0 linear address
instead of the btx-client-user address. Additionally, boot1 was storing
the data at a location that the btx client could not access.
(see MEM_BTX_USR_ARG)
* Fix a heap/stack collision in the loader. The loader was setting the end
of the heap to the end of BIOS memory without taking into account the
fact that its stack was likely growing downward starting at the end of
BIOS memory.
* Fix a heap calculation error in the loader. The loader was using the
physical address representation of the end of BIOS memory instead of the
virtual address representatino, which can result in the loader pushing into
BIOS memory.
Justin C. Sherrill [Mon, 19 Jul 2004 20:27:36 +0000 (20:27 +0000)]
Remove my changes. PATH_PORTS is not checked for multiple entries as
PATH_SOURCES is, and adding /usr/dfports to PATH_SOURCES does not work,
as whereis will just print the first place it finds a match. No sense in
leaving it broken while I figure this out.
Matthew Dillon [Mon, 19 Jul 2004 16:24:27 +0000 (16:24 +0000)]
Correct a bug in NXCCFLAGS generation.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 13:56:34 +0000 (13:56 +0000)]
Update pciconf to print the recently added categories.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 13:47:12 +0000 (13:47 +0000)]
Correct some PCIS to PCIC and PCIP prefixes.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:36:09 +0000 (10:36 +0000)]
Add PCIS_ definitions per PCI specification 3.0.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:31:04 +0000 (10:31 +0000)]
Update the PCIS_ definitions per the PCI 2.3 specification.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:24:03 +0000 (10:24 +0000)]
Add rndcontrol.
Submitted by: Peter Avalos <pavalos@theshell.com>
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 09:28:17 +0000 (09:28 +0000)]
Update comment to point to the right file (src/sys/bus/pci/pcireg.h).
Joerg Sonnenberger [Mon, 19 Jul 2004 09:23:23 +0000 (09:23 +0000)]
Add struct ucred * argument to ng_fec_ioctl
Matthew Dillon [Mon, 19 Jul 2004 01:25:02 +0000 (01:25 +0000)]
Consolidate most constant memory addresses in bootasm.h part2/2:
Convert btx/lib and do additional cleanups. Again no operational changes.
Matthew Dillon [Sun, 18 Jul 2004 23:40:09 +0000 (23:40 +0000)]
Consolidate most constant memory addresses in bootasm.h part1/2. Convert
all .s files into .S files and replace any remaining M4 use with standard
preprocessor directives.
Files generated should be the same as before this commit.
David Rhodus [Sun, 18 Jul 2004 19:43:48 +0000 (19:43 +0000)]
Perform some basic cleanups. Change some types over to C99 standard
types. Correct some misspellings. Correct some type usages which could
possibly resulted in overflows in the filesystem code.
Matthew Dillon [Sun, 18 Jul 2004 18:42:08 +0000 (18:42 +0000)]
Sync bootn0 with recent boot0 fixes.
David Rhodus [Sun, 18 Jul 2004 18:35:20 +0000 (18:35 +0000)]
Implement advisory locking support for the cd9660 filesystem.
Matthew Dillon [Sun, 18 Jul 2004 18:26:33 +0000 (18:26 +0000)]
Brute force a register save/restore for int 0x13 (disk I/O) and 0x10 (putchar)
by using pusha/popa. Don't trust the BIOS to properly save and restore
registers.
Note that the TICKS check for boot0 currently still depends on %di being
retained across two BIOS calls. More code reorganization is required to
make a save/restore fit in the space available.
Matthew Dillon [Sun, 18 Jul 2004 16:51:38 +0000 (16:51 +0000)]
Bring the twiddle fix in from FreeBSD5:1.11. This rev also added a
save/restore pair for %cx around the read, but that is not necessarily
sufficient. Instead of pussy-footing around, use pushal/popal to save ALL
registers around the two BIOS calls cdboot.s makes and get rid of random
saves and restores elsewhere in the code.
The pushal/popal fix allows bochs to boot past the loader into single-user,
though it still panics when we try to use the FP unit.
Matthew Dillon [Sun, 18 Jul 2004 16:26:43 +0000 (16:26 +0000)]
Fix two serious bugs in the IP demux code. First, if ip_mport() m_pullup()'s
an mbuf, the new/modified mbuf is not returned to the caller and the caller
may wind up using a stale/freed mbuf. Second, ip_mport() was not consistently
freeding mbufs which could lead to both a memory leak and a double free.
Reported-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@les.ath.cx> (panic: TCP header not in one mbuf).
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:49:15 +0000 (12:49 +0000)]
Correct dumb copy/paste of existing line mistake to correct name.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:37:03 +0000 (12:37 +0000)]
Clarify the Sony strings.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:29:19 +0000 (12:29 +0000)]
Add the Sony CXD1947, which seems to be used in some Sony Vaios.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:27:36 +0000 (12:27 +0000)]
The device in question is the Sony CXD3222, not the CX3022.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:24:29 +0000 (12:24 +0000)]
Clarify VIA Fire II identifier string.
David Rhodus [Sun, 18 Jul 2004 03:11:15 +0000 (03:11 +0000)]
Bump the rev to 1.1-CURRENT.
Matthew Dillon [Sun, 18 Jul 2004 00:34:18 +0000 (00:34 +0000)]
Don't let packets with DF set sneak by through the hardware-assisted
fragmentation path.
Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Taken-From: FreeBSD ip_output.c/1.199
Matthew Dillon [Sun, 18 Jul 2004 00:28:22 +0000 (00:28 +0000)]
Compensate sockstat for the CPU column that netstat now adds.
Submitted-by: Barry Pederson <bp@barryp.org>
Hiten Pandya [Sat, 17 Jul 2004 21:10:42 +0000 (21:10 +0000)]
Merge revision 1.16 of src/usr.bin/rusers/rusers.c from FreeBSD.
Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
Hiten Pandya [Sat, 17 Jul 2004 21:06:38 +0000 (21:06 +0000)]
Eliminate hard sentence breaks.
Jeffrey Hsu [Sat, 17 Jul 2004 20:31:31 +0000 (20:31 +0000)]
Readability changes, mostly removing the option to not do NewReno,
re-indenting some code, and ansifying some function definitions.
Chris Pressey [Sat, 17 Jul 2004 18:21:18 +0000 (18:21 +0000)]
In dumpon(8) usage, `off' is a literal keyword, not a parameter name.
Matthew Dillon [Sat, 17 Jul 2004 17:43:35 +0000 (17:43 +0000)]
Minor documentation update to clarify the effect of the vfs.usermount sysctl.
Submitted-by: Einar Karttunen <ekarttun@cs.helsinki.fi>
Taken from: NetBSD
Hiten Pandya [Sat, 17 Jul 2004 10:49:43 +0000 (10:49 +0000)]
Bring definition of va_list and friends, so that ACPI module actually
builds with GCC-2.5 and GCC-3.4.
Noticed-by: Joerg Sonnenberger <joerg@bec.de>
Hiten Pandya [Sat, 17 Jul 2004 10:47:27 +0000 (10:47 +0000)]
Add a prototype for isab_attach(), which is used by the ACPI-5 ISA
bridge code.
Hiten Pandya [Sat, 17 Jul 2004 10:46:37 +0000 (10:46 +0000)]
Remove an erronous 'static' in front of pci_alloc_resource(9).
Joerg Sonnenberger [Sat, 17 Jul 2004 09:43:06 +0000 (09:43 +0000)]
Add if_broadcastaddr to struct ifnet to hold the link layer broadcast address.
Use this in place of the various direct references esp. to etherbroadcastaddr.
Inspired-by: NetBSD if.h, rev. 1.29
Joerg Sonnenberger [Sat, 17 Jul 2004 09:26:25 +0000 (09:26 +0000)]
Don't return 0 from rl_probe, because rl(4) is not a best match for
certain 8139 chips. That way re(4) has the change to attach first.
Hiten Pandya [Sat, 17 Jul 2004 01:45:37 +0000 (01:45 +0000)]
BUF/BIO stage 2:
o Remove remaining source references to b_caller2 and b_driver2
field members of the BUF structure.
o Remove b_caller2 and b_driver2 field members from the BUF
structure.
Discussed-with: Matthew Dillon <dillon@apollo.backplane.com>
Matthew Dillon [Fri, 16 Jul 2004 21:33:16 +0000 (21:33 +0000)]
Fix a URL displayed in an advisory.
Hiten Pandya [Fri, 16 Jul 2004 19:07:56 +0000 (19:07 +0000)]
Double semi-colon police!
Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
Hiten Pandya [Fri, 16 Jul 2004 19:07:08 +0000 (19:07 +0000)]
Eliminate hard sentence breaks.
Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
Hiten Pandya [Fri, 16 Jul 2004 19:04:57 +0000 (19:04 +0000)]
Eliminate hard sentence breaks.
Submitted-by: Liam Foy <liamfoy@kerneled.org>
Hiten Pandya [Fri, 16 Jul 2004 18:58:35 +0000 (18:58 +0000)]
Merge revision 1.26 of src/usr.bin/time/time.c from FreeBSD, and an
additional change:
o Use wait4() instead of wait3() when waiting for a child
process to exit.
o Set the process' exit code properly (rev. 1.25).
Obtained-from: Liam J. Foy <liamfoy@kerneled.org>
Hiten Pandya [Fri, 16 Jul 2004 18:53:56 +0000 (18:53 +0000)]
Merge revision 1.25 of src/usr.bin/time/time.c from FreeBSD.
Original Log:
Assorted minor fixes, mostly style(9):
- PID should be pid_t, not int;
- sort #include's and local variables;
- don't overuse initializers;
- use warn(3) instead of perror(3) consistently;
- amplify the comment on signals.
Obtained-from: Liam J. Foy <liamfoy@kerneled.org>