Skip to content

Commit

Permalink
Commit 8ef13d7 did not update the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mywave82 committed Feb 4, 2024
1 parent 7c084b3 commit d5286ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions filesel/mdb-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ int mdb_basic_sizeof (void)
offsetof (struct modinfoentry, mie.general.size),
(offsetof (struct modinfoentry, mie.general.size) == 8) ? ANSI_COLOR_GREEN "OK" : ANSI_COLOR_RED "FAILED");

retval |= (offsetof (struct modinfoentry, mie.general.reserved) != 52);
fprintf (stderr, "offsetof(struct modinfoentry.mie.general.reserved) == 52: %ld %s\n" ANSI_COLOR_RESET,
retval |= (offsetof (struct modinfoentry, mie.general.reserved) != 55);
fprintf (stderr, "offsetof(struct modinfoentry.mie.general.reserved) == 55: %ld %s\n" ANSI_COLOR_RESET,
offsetof (struct modinfoentry, mie.general.reserved),
(offsetof (struct modinfoentry, mie.general.reserved) == 52) ? ANSI_COLOR_GREEN "OK" : ANSI_COLOR_RED "FAILED");
(offsetof (struct modinfoentry, mie.general.reserved) == 55) ? ANSI_COLOR_GREEN "OK" : ANSI_COLOR_RED "FAILED");

return retval;
}
Expand Down

0 comments on commit d5286ac

Please sign in to comment.