lukem
|
658ed3362c
|
appease gcc -Wuninitialized
|
2005-06-02 01:35:57 +00:00 |
|
lukem
|
2d447a3b0c
|
Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
Detected with gcc -Wuninitialized.
(The bug was fixed in rev 1.4 by rumble but reintroduced in rev 1.5 by tv !)
|
2005-06-02 01:31:30 +00:00 |
|
lukem
|
230e9bea1f
|
Use ai_nfs instead of the uninitialized ai when determining the NFSMNT_KERB
reverse IP address, and ensure ecode is set as well.
Detected with gcc -Wuninitialized.
(The bug was introduced in mount_nfs.c rev 1.25. Hi fvdl! :)
|
2005-06-02 01:24:45 +00:00 |
|
dbj
|
ab963542e1
|
for ufs2, assume FS_44INODEFMT
this is necessary for freebsd compatbility, since they do not initialize
the old field.
|
2005-06-02 01:23:19 +00:00 |
|
lukem
|
620037ae2b
|
Ensure verbose is initialized before using it.
Detected by gcc -Wuninitialized.
|
2005-06-02 01:16:06 +00:00 |
|
lukem
|
2b11c546a4
|
appease gcc -Wuninitialized
|
2005-06-02 01:02:21 +00:00 |
|
lukem
|
a0618cd165
|
appease gcc -Wuninitialized
|
2005-06-02 00:48:48 +00:00 |
|
lukem
|
700088dc7f
|
appease gcc -Wuninitialized
|
2005-06-02 00:38:41 +00:00 |
|
lukem
|
86716480cb
|
appease gcc -Wuninitialized
|
2005-06-02 00:15:02 +00:00 |
|
lukem
|
925bd672b3
|
Ensure that "setcache <mode>" doesn't use random data for "byte2"
("setcache <mode> save" DTRT).
Found by gcc -Wuninitialized.
Appease other -Wuninitialized warnings.
|
2005-06-02 00:13:10 +00:00 |
|
lukem
|
9a1b8a3b7b
|
appease gcc -Wuninitialized
|
2005-06-02 00:01:47 +00:00 |
|
lukem
|
2cd106ee37
|
Fix an uninitialized variable issue.
Found with gcc -Wuninitialized.
|
2005-06-02 00:00:46 +00:00 |
|
jdc
|
d71f5da715
|
Add const (catching up with additions to MI ddb code).
|
2005-06-01 21:24:05 +00:00 |
|
jdc
|
4612fcc60c
|
Rename "delay" variable to avoid shadowing the "delay" from param.h.
|
2005-06-01 21:17:28 +00:00 |
|
jdc
|
b6141d5839
|
Add const (catching up with additions to MI ddb code).
|
2005-06-01 21:05:36 +00:00 |
|
jdc
|
9e2e82eb16
|
Fix this properly by renaming the conflicting variables.
|
2005-06-01 19:45:34 +00:00 |
|
drochner
|
645c942f3b
|
const fall-out, from Patrick Welche
|
2005-06-01 19:40:58 +00:00 |
|
jdc
|
ee08c5a2f0
|
Remove extraneous definition of struct llc (found by shadow warning).
|
2005-06-01 19:38:13 +00:00 |
|
drochner
|
1be856bcd9
|
adapt to ddb constification
|
2005-06-01 19:30:11 +00:00 |
|
jandberg
|
6b17417999
|
regen: wsmux added (enabled only in WSCONS)
|
2005-06-01 19:16:37 +00:00 |
|
drochner
|
4c60f4d510
|
one more "const" for multiprocessor, from Patrick Welche
|
2005-06-01 19:06:24 +00:00 |
|
jandberg
|
bb8b95b1f4
|
Add wsmux.
|
2005-06-01 18:55:08 +00:00 |
|
drochner
|
ef59f6d9ce
|
update for acpi busname removal
|
2005-06-01 18:51:25 +00:00 |
|
jandberg
|
929fa06243
|
Tell kbd when it is the console keyboard instead of always assuming
it is. Also console keyboard initialization is now made during consinit
instead of autoconf.
Reviewed by <is>.
|
2005-06-01 18:50:33 +00:00 |
|
drochner
|
6e2d003046
|
more cast-qual and shadow fallout
|
2005-06-01 18:41:51 +00:00 |
|
drochner
|
74c3fc01b1
|
more cast-qual fallout
|
2005-06-01 18:34:12 +00:00 |
|
drochner
|
4c26f57294
|
make the argument to prom getenv() cnd the printf() format const
remove variable names from prototypes
|
2005-06-01 18:32:07 +00:00 |
|
elad
|
9a23dc795f
|
Newline in end of usage.
|
2005-06-01 18:29:16 +00:00 |
|
drochner
|
ef3bc6e308
|
quell cast-qual and shadow warnings
|
2005-06-01 18:21:43 +00:00 |
|
drochner
|
10e0e927de
|
add "const" where needed
|
2005-06-01 18:18:52 +00:00 |
|
drochner
|
b10340ac93
|
quell cast-qual and shadow warnings
|
2005-06-01 18:07:04 +00:00 |
|
drochner
|
d481be4d04
|
prepend an underscore to local variables in macros, to avoid shadowing
user defined ones
|
2005-06-01 18:03:50 +00:00 |
|
wiz
|
7aee94451b
|
New sentence, new line; grammar improvements.
|
2005-06-01 17:33:21 +00:00 |
|
sjg
|
5f60a7de65
|
Add :Ox for random ordering, based on patch from
Mike M. Volokhov <mishka@apk.od.ua>
|
2005-06-01 17:17:34 +00:00 |
|
drochner
|
0f412f7917
|
make this compile after Wcast-qual
|
2005-06-01 17:05:16 +00:00 |
|
drochner
|
81d2438e71
|
quell shadow variable warnings
|
2005-06-01 16:53:51 +00:00 |
|
drochner
|
1334ccff34
|
cast-qual fallout
|
2005-06-01 16:53:07 +00:00 |
|
drochner
|
89be678776
|
kill the "busname" attach arg for acpi, apm, pnpbios and vesabios,
and pass NULL "print" function pointers to their config_found functions
because they shouldn't be called anyway
|
2005-06-01 16:49:14 +00:00 |
|
drochner
|
a5c2eed454
|
kill the "busname" attach arg, it is not really needed
|
2005-06-01 16:44:38 +00:00 |
|
drochner
|
ac2f70360c
|
adapt to ddb constification
|
2005-06-01 16:36:42 +00:00 |
|
drochner
|
52a8073eb0
|
adapt to DDB constification, and fix a shadow warning
|
2005-06-01 16:26:59 +00:00 |
|
drochner
|
286fe4b79f
|
fix cast-qual fallout
|
2005-06-01 16:17:40 +00:00 |
|
drochner
|
2edb650a91
|
typo in comment
|
2005-06-01 16:13:45 +00:00 |
|
drochner
|
8120b42b0e
|
fix constification fallout
|
2005-06-01 16:13:04 +00:00 |
|
drochner
|
e2897481fa
|
add "const", and spellcheck a comment
|
2005-06-01 16:11:15 +00:00 |
|
drochner
|
ad96a23ba7
|
fix typos in comments
|
2005-06-01 16:09:45 +00:00 |
|
drochner
|
e4b57c0c19
|
avoid a shadow warning, and fix a pseudo-comment
|
2005-06-01 16:09:01 +00:00 |
|
lukem
|
d066333b1b
|
Ensure IF is initialized before trying to use it.
Found with -Wuninitialized.
|
2005-06-01 15:57:40 +00:00 |
|
drochner
|
7005d4ef81
|
make the argument of db_write_bytes const (sorry for the signature change)
|
2005-06-01 15:57:23 +00:00 |
|
lukem
|
c76b26e527
|
Shouldn't use += on a variable that we haven't initialized yet ...
Found with -Wuninitialized.
|
2005-06-01 15:55:31 +00:00 |
|