diff options
Diffstat (limited to 'networking/nbd-client.c')
-rw-r--r-- | networking/nbd-client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/nbd-client.c b/networking/nbd-client.c index a601430..70869d6 100644 --- a/networking/nbd-client.c +++ b/networking/nbd-client.c @@ -57,9 +57,8 @@ int nbdclient_main(int argc, char **argv) uint32_t flags; char data[124]; } nbd_header; - struct bug_check { - char c[offsetof(struct nbd_header_t, data) == 8+8+8+4 ? 1 : -1]; - }; + + BUILD_BUG_ON(offsetof(struct nbd_header_t, data) != 8+8+8+4); // Parse command line stuff (just a stub now) if (argc != 4) |