Skip to content

Commit 9bfdbdf

Browse files
committed
Again
1 parent dc52fb3 commit 9bfdbdf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/nvme/mi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,7 @@ static int validate_occ_list_update_ctx(
21762176
struct nvme_mi_aem_ctx *ctx,
21772177
bool check_generation_num)
21782178
{
2179+
printf("File: %s, Line: %d\n", __FILE__, __LINE__);
21792180
//Make sure header fields have valid data
21802181
if (len < sizeof(*occ_header)) {
21812182
errno = EPROTO;
@@ -2417,7 +2418,7 @@ int nvme_mi_aem_enable(nvme_mi_ep_t ep,
24172418
response_len,
24182419
ep->aem_ctx,
24192420
false /*generation # shouldn't matter*/);
2420-
fprintf(stderr, "File: %s, Line: %d\n", __FILE__, __LINE__);
2421+
fprintf(stderr, "File: %s, Line: %d, RC=%d, Errno=%d\n", __FILE__, __LINE__, rc, errno);
24212422
if (rc)
24222423
goto cleanup_ctx;
24232424
fprintf(stderr, "File: %s, Line: %d\n", __FILE__, __LINE__);

0 commit comments

Comments
 (0)