Skip to content

Commit 587e625

Browse files
committed
Coding style fixes.
1 parent 0e32347 commit 587e625

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dmidecode.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -3875,7 +3875,8 @@ static void dmi_table(u32 base, u16 len, u16 num, u16 ver, const char *devmem)
38753875
{
38763876
if (opt.string->lookup != NULL)
38773877
printf("%s\n", opt.string->lookup(data[opt.string->offset]));
3878-
else if (opt.string->print != NULL) {
3878+
else if (opt.string->print != NULL)
3879+
{
38793880
opt.string->print(data + opt.string->offset, ver);
38803881
printf("\n");
38813882
}

dmiopt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static void print_opt_string_list(void)
176176
unsigned int i;
177177

178178
fprintf(stderr, "Valid string keywords are:\n");
179-
for (i = 0; i<ARRAY_SIZE(opt_string_keyword); i++)
179+
for (i = 0; i < ARRAY_SIZE(opt_string_keyword); i++)
180180
{
181181
fprintf(stderr, " %s\n", opt_string_keyword[i].keyword);
182182
}

0 commit comments

Comments
 (0)