Skip to content

Commit

Permalink
Fix error log messages (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Sabeel Ansari <[email protected]>
Co-authored-by: Derek G Foster <[email protected]>
  • Loading branch information
5abeel and ffoulkes authored Jul 15, 2024
1 parent 503c2cf commit 6ee829c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions switchapi/es2k/lnw_v3/switch_pd_lag.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ switch_status_t switch_pd_tx_lacp_lag_table_entry(
&rif_data_field_id);
if (status != TDI_SUCCESS) {
krnlmon_log_error("Unable to get data field id param for: %s, error: %d",
ACTION_SET_EGRESS_PORT_PARAM_EGRESS_PORT, status);
ACTION_SET_EGRESS_PORT_PARAM_ROUTER_INTF_ID, status);
goto dealloc_resources;
}

Expand Down Expand Up @@ -638,7 +638,7 @@ switch_status_t switch_pd_tx_lacp_lag_table_entry(
status = tdi_data_field_set_value(data_hdl, rif_data_field_id, lag_id);
if (status != TDI_SUCCESS) {
krnlmon_log_error("Unable to set action value for ID: %d, error: %d",
data_field_id, status);
rif_data_field_id, status);
goto dealloc_resources;
}

Expand Down

0 comments on commit 6ee829c

Please sign in to comment.