4 #include "fsck_helper.h"
7 testresult_t
test_sbname (void)
13 fetch_superblock(&sb
);
16 for (r
= 0; (r
< PARTITION_NAME_SIZE
) && (ret
== corrupt
); ++r
) {
17 if ((sb
->name
)[r
] == '\0') {
23 printf("Partition name is not correctly terminated.\n");
25 printf("Partition name: %s.\n", sb
->name
);