Skip to content

replace all printf, frpintfs in libnvme #100

@igaw

Description

@igaw

The struct nvme_global_ctx is available everywhere (if not add it to the fucntion).
Use it replace the printf/fprintf error logging:

	err = nvme_submit_admin_passthru(hdl, &cmd);
	if (err) {
		fprintf(stderr, "ERROR: nvme_identify_ctrl() failed 0x%x\n", err);
		return err;
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions