diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-08-12 11:42:26 -0700 |
---|---|---|
committer | Ed Warnicke <eaw@cisco.com> | 2016-08-12 12:07:54 -0700 |
commit | 853e720fdd74b1ffb1168c1503cd97eb5b7f8b60 (patch) | |
tree | 6179a62bebb59afa409268a88f2b6d9d9a3702ad /vlib-api/vlibapi/api_shared.c | |
parent | c1be59d3eb92096f7403ad5b3c3e7cbd78ba0b96 (diff) |
VPP-237: indent fixes in prep for checkstyle
Ran indent *twice*
Change-Id: If9c18b81983bb859cc8dc3b415c67cbf318fc618
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'vlib-api/vlibapi/api_shared.c')
-rw-r--r-- | vlib-api/vlibapi/api_shared.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/vlib-api/vlibapi/api_shared.c b/vlib-api/vlibapi/api_shared.c index fd23c458946..c62ac5b18a5 100644 --- a/vlib-api/vlibapi/api_shared.c +++ b/vlib-api/vlibapi/api_shared.c @@ -781,7 +781,7 @@ vl_msg_api_process_file (vlib_main_t * vm, u8 * filename, if (!(statb.st_mode & S_IFREG) || (statb.st_size < sizeof (*hp))) { vlib_cli_output (vm, "File not plausible: %s\n", filename); - close(fd); + close (fd); return; } @@ -1084,17 +1084,19 @@ api_trace_command_fn (vlib_main_t * vm, rv = vl_msg_api_trace_save (am, which, fp); fclose (fp); if (rv == -1) - vlib_cli_output (vm, "API Trace data not present\n"); + vlib_cli_output (vm, "API Trace data not present\n"); else if (rv == -2) - vlib_cli_output (vm, "File for writing is closed\n"); + vlib_cli_output (vm, "File for writing is closed\n"); else if (rv == -10) - vlib_cli_output (vm, "Error while writing header to file\n"); + vlib_cli_output (vm, "Error while writing header to file\n"); else if (rv == -11) - vlib_cli_output (vm, "Error while writing trace to file\n"); + vlib_cli_output (vm, "Error while writing trace to file\n"); else if (rv == -12) - vlib_cli_output (vm, "Error while writing end of buffer trace to file\n"); + vlib_cli_output (vm, + "Error while writing end of buffer trace to file\n"); else if (rv == -13) - vlib_cli_output (vm, "Error while writing start of buffer trace to file\n"); + vlib_cli_output (vm, + "Error while writing start of buffer trace to file\n"); else if (rv < 0) vlib_cli_output (vm, "Unkown error while saving: %d", rv); else |