mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
resolv: Fix building tst-resolv-invalid-cname for earlier C standards
This fixes this compiler error: tst-resolv-invalid-cname.c: In function ‘test_mode_to_string’: tst-resolv-invalid-cname.c:164:10: error: label at end of compound statement case test_mode_num: ^~~~~~~~~~~~~ Fixes commit9caf782276
("resolv: Add new tst-resolv-invalid-cname"). (cherry picked from commitd09aa4a172
)
This commit is contained in:
parent
649213ae27
commit
6fea8e6b94
@ -162,7 +162,7 @@ test_mode_to_string (enum test_mode mode)
|
||||
case gai_canon:
|
||||
return "gai_canon";
|
||||
case test_mode_num:
|
||||
/* Report error below. */
|
||||
break; /* Report error below. */
|
||||
}
|
||||
FAIL_EXIT1 ("invalid test_mode: %d", mode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user