Commit Graph

32 Commits

Author SHA1 Message Date
christos 0b147c5d2b avoid type punned warnings 2011-08-14 17:57:44 +00:00
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
lukem b1b382ae67 Fix WARNS=4 issues (-Wshadow -Wextra -Wcast-qual -Wsign-compare) 2009-04-17 04:03:39 +00:00
martin cd22f25e6f Move TNF licenses to 2 clause form 2008-05-02 18:11:04 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
perry 4d096031f0 replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
hubertf df0f62d579 Remove unneeded #include <getopt.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 23:08:29 +00:00
hubertf e6603d3964 Remove unneeded ctype.h header
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:53:59 +00:00
ad 119899c354 Remove authors section, and update history where appropriate. 2006-11-13 16:33:56 +00:00
blymn 10df330c85 Prefix iostat structure elements with io_ 2006-04-20 12:13:51 +00:00
blymn 8cf43bce86 New io statistics collection. 2006-04-14 13:20:48 +00:00
lukem c8e07a4ef7 appease gcc -Wuninitialized 2005-06-02 05:58:24 +00:00
dsl f7571bacc2 Add (unsigned char) cast to ctype functions 2004-10-30 08:46:12 +00:00
itojun e8f0e61fd7 use bounded string op 2003-07-13 12:29:20 +00:00
wiz 07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
perry 339d3e41ad Incresed->Increased, Micheal->Michael, from Igor Sobrado PR misc/20739 2003-03-31 01:23:30 +00:00
grant 806593a806 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 16:11:34 +00:00
ad 37fdff48de Re-word a sentence. 2002-08-26 17:05:43 +00:00
ad 7a2589c16e - Must now get some info from the kernel, not the board.
- Don't try to do things that the firmware can't handle.
2002-08-26 17:04:17 +00:00
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
ad 4cb07f9024 Sync the firmware version report with mlx.c. Addresses PR 14155. 2002-04-07 20:18:01 +00:00
ad b55ddcdfc4 Fix -a: correctly verify which disks belong to the current controller, and
print a more informative message if we don't find any. Addresses part of
(already closed) PR 14086.
2002-04-07 20:02:18 +00:00
wiz 7e266c9a07 Improve markup. 2002-01-19 03:35:21 +00:00
ad 9523ee5f87 First appeared in 1.5.3. 2001-12-18 13:28:42 +00:00
jdolecek 4bf4fb5731 Fix obvious mistake in way the disk tailq is walked.
Fixes bin/14086 by Ben Harris.
2001-09-29 17:04:10 +00:00
ad fae451430d Nits. 2001-04-17 13:32:39 +00:00
cgd c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
simonb 785b754775 Use separate printf()s instead of using a saved format string. Fixes
compiles with "FORMAT_AUDIT=yes WFORMAT=2".
2001-02-15 02:32:26 +00:00
simonb 32f6d71ea4 Remove a duplicated "md->name" in a warnx call.
Noticed by Tyrel Beede on current-users.
2001-02-15 01:59:54 +00:00
enami 1cfd16779b Pull in decl. of memset() so that this can be compiled on alpha. 2001-02-09 01:31:52 +00:00
ad 77c450a230 Squash some nits. 2001-02-06 12:53:48 +00:00
ad ea0d957018 Add a control utility for `mlx' devices. Derived from FreeBSD's `mlxcontrol'. 2001-02-04 17:30:35 +00:00