mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08: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 commit 9caf782276ecea4bc86fc94fbb52779736f3106d ("resolv: Add new tst-resolv-invalid-cname"). (cherry picked from commit d09aa4a17229bcaa2ec7642006b12612498582e7)
This commit is contained in:
parent
2def56a349
commit
044755e2fa
@ -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…
x
Reference in New Issue
Block a user