commit | f5858b5bf75ef82dfc15b7284abd2f4b0d8278e4 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Fri Mar 18 16:33:03 2016 +1030 |
committer | Joel Stanley <joel@jms.id.au> | Fri Mar 18 16:52:14 2016 +1030 |
tree | 17c7aade9c943ff37ac9485d82936582d5f3ef8d | |
parent | 4d948acd9295cbfab91fb0e5b97bbfc9503e752e [diff] |
console-server: fix initialiser When using clang (3.8, and 3.4), the initaliser for struct option: console-server.c:471:6: error: missing field 'has_arg' initializer [-Werror,-Wmissing-field-initializers] { 0 }, Shut the compiler up by using four zeros, which is what the libc manual suggests: "Terminate the array with an element containing all zeros." Signed-off-by: Joel Stanley <joel@jms.id.au>