diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-11-25 09:26:20 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-11-25 09:26:46 +0100 |
commit | 6feb59668308a326ec979b7992613138b986c985 (patch) | |
tree | f7a3cedee0966cf8ce213dcfe0b486698fe42d70 /proto_vlan.c | |
parent | b9c04d953676c63c9e069a9ada1bb589860b470b (diff) |
trafgen: Check return value of system()
Check the return value of system() when invoking CPP in the BPF
parser and bail out in case of an error.
This fixes the following compiler warning:
trafgen_parser.y:598:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_vlan.c')
0 files changed, 0 insertions, 0 deletions