Skip to content

Fix return value error at various desc with D option#67

Open
k831-kim wants to merge 1 commit into
SanDisk-Open-Source:devfrom
k831-kim:read-desc-optionD-patch
Open

Fix return value error at various desc with D option#67
k831-kim wants to merge 1 commit into
SanDisk-Open-Source:devfrom
k831-kim:read-desc-optionD-patch

Conversation

@k831-kim
Copy link
Copy Markdown

When the user uses the D option, a data file is created through the store_data_file(). However, this function returns the size of the data. Therefore, despite normal operation, rc becomes a non-zero value and eventually returns an error 1 in the application return.

When the user uses the D option, a data file is created through the
store_data_file(). However, this function returns the size of the data.
Therefore, despite normal operation, rc becomes a non-zero value and
eventually returns an error 1 in the application return.

Signed-off-by: Kyoungrul Kim <k831.kim@samsung.com>
@k831-kim
Copy link
Copy Markdown
Author

@arthur-simchaev-sndk Could you review this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants