Commit Graph

113024 Commits

Author SHA1 Message Date
tsutsui 30f71213c8 Remove unused file since asc.c switched to MI ncr53c9x. 2003-05-18 04:28:33 +00:00
itojun f5878476d9 simplify by strlcpy 2003-05-18 02:11:13 +00:00
itojun 8138cbd1bf simplify more 2003-05-18 02:07:20 +00:00
itojun ebf587df1a simplify by strlcpy/cat 2003-05-18 02:06:28 +00:00
thorpej 55f89430cf Decrease the verbosity level unless VERBOSE_INIT_ARM is defiend. 2003-05-17 23:46:59 +00:00
itojun 262bdee727 do not hardcode buffer size 2003-05-17 23:16:47 +00:00
itojun 00868410fd asprintf is easier 2003-05-17 23:14:42 +00:00
itojun 604ac268ac use snprintf 2003-05-17 23:10:57 +00:00
itojun fe09a0efcb use strlcpy 2003-05-17 23:03:28 +00:00
itojun 9cbeabfe77 strlcpy [a few mistakes found] 2003-05-17 23:02:28 +00:00
itojun 22795e9102 use strlcpy 2003-05-17 22:57:30 +00:00
itojun 3e6b78200d use strlcat 2003-05-17 22:56:31 +00:00
itojun bf792c0c43 string manipulation audit 2003-05-17 22:54:55 +00:00
itojun f4a82bcf1f strlcat is easier here 2003-05-17 22:50:29 +00:00
thorpej fcecc153fe Use aprint_normal() for the non-error (and thus non-interative) case
of mounting the root file system.
2003-05-17 22:22:41 +00:00
thorpej 6c3da825c3 Use aprint_normal() to report the boot device. 2003-05-17 22:18:28 +00:00
thorpej 577fd9d8fa * Use aprint*().
* Add Ultra/133 to wdc_print_modes().
2003-05-17 21:52:03 +00:00
thorpej 2f25411d28 Use a buffer queue. Primary advantage here is robustness in the face
of temporary resource shortages.
2003-05-17 21:42:08 +00:00
itojun 936d35bb1b use strlcpy 2003-05-17 21:28:53 +00:00
itojun 5a8065df69 string manipulation cleanup 2003-05-17 21:26:47 +00:00
itojun bb3fc85900 use snprintf 2003-05-17 21:24:38 +00:00
itojun 792f67c795 string manipulation cleanup 2003-05-17 21:20:09 +00:00
itojun c5f76786a4 use strlcpy 2003-05-17 21:18:46 +00:00
itojun 0f00216d14 string manipulation cleanup 2003-05-17 21:17:43 +00:00
itojun 4005e1b9e9 use strl* 2003-05-17 21:05:10 +00:00
itojun 0e1bb4cd82 use strlcat/strlcpy 2003-05-17 21:03:21 +00:00
itojun ef713a2fe9 use strlcat 2003-05-17 21:00:57 +00:00
itojun 89bf339ad7 use strlcpy/strlcat 2003-05-17 20:58:39 +00:00
itojun c428db5b2f use strlcpy 2003-05-17 20:55:44 +00:00
itojun 9e390651ee remove local copy of strl{cat,cpy} 2003-05-17 20:49:28 +00:00
itojun 85da88227f use strlcpy/strlcat.
[fix off-by-one in displayq.c]
2003-05-17 20:46:42 +00:00
thorpej 5a467fa72d Add isinfl() and isnanl(). 2003-05-17 20:43:13 +00:00
thorpej 200111747f Add long double support. 2003-05-17 20:42:28 +00:00
itojun b37b18f113 remove obsolete comment 2003-05-17 19:19:50 +00:00
itojun d0f8b66023 strncpy -> strlcpy 2003-05-17 19:18:59 +00:00
he d963c8ed8a In disasm_fields(), add a buffer length argument and keep track of
the remaining length of the buffer to use with the modified
db_symstr() interface.  Also, convert to using snprintf() via some
local macros appending to the result buffer.
2003-05-17 19:17:43 +00:00
itojun 84e2880efb KNF 2003-05-17 19:14:25 +00:00
itojun d0512514bd use strlcpy. don't hardcode sizes, use sizeof. 2003-05-17 19:09:08 +00:00
itojun 4a1c105c26 ensure string termination 2003-05-17 19:00:22 +00:00
itojun f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +00:00
itojun 3f62dc6d24 strlcpy 2003-05-17 18:19:20 +00:00
itojun 3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun 6ca34aa391 no need for ip_v recovery in output path too
(tcp_template includes ip_v setting)
2003-05-17 17:16:20 +00:00
itojun b29a40989d ip checksum logic no longer damage ip_v 2003-05-17 17:08:15 +00:00
christos acec85bb7c Initialize and reset curtxeps to zero each time the error rate is exceeded.
This stops the continuous spewing of error messages, making it just sporadic.
2003-05-17 16:46:03 +00:00
thorpej 4aef050969 Add DIOCKLABEL support. Fixes PR kern/21605 (Luke Mewburn). 2003-05-17 16:11:52 +00:00
mjl cf40158777 Typos in comments. 2003-05-17 15:53:42 +00:00
thorpej 548e1373f8 Another fix from Achim Leubner @ ICP:
Test-busy *before* marking the controller as processing a user ioctl,
otherwise the command queue could stall permanently if test-busy returned
true.
2003-05-17 15:34:12 +00:00
thorpej 8969ba6ff5 Build _isinfl() and _isnanl(). 2003-05-17 15:05:52 +00:00
itojun 0ba5684be4 possible scanf overrun 2003-05-17 15:05:19 +00:00