fix buglets found by randomconfig
This commit is contained in:
parent
1da0ad13fb
commit
d2023283ac
@ -39,9 +39,9 @@
|
|||||||
*
|
*
|
||||||
* Original copyright notice is retained at the end of this file.
|
* Original copyright notice is retained at the end of this file.
|
||||||
*/
|
*/
|
||||||
static int decode(char *name, CODE * codetab)
|
static int decode(char *name, const CODE *codetab)
|
||||||
{
|
{
|
||||||
CODE *c;
|
const CODE *c;
|
||||||
|
|
||||||
if (isdigit(*name))
|
if (isdigit(*name))
|
||||||
return atoi(name);
|
return atoi(name);
|
||||||
|
@ -213,6 +213,7 @@ config HEXDUMP
|
|||||||
config HD
|
config HD
|
||||||
bool "hd"
|
bool "hd"
|
||||||
default n
|
default n
|
||||||
|
select HEXDUMP
|
||||||
help
|
help
|
||||||
hd is an alias to hexdump -C.
|
hd is an alias to hexdump -C.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user