New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: objectstore: chain_xattr: fix wrong memset usage to fill buf #14277

Merged
merged 1 commit into from Apr 3, 2017

Conversation

Projects
None yet
2 participants
@atheism
Contributor

atheism commented Apr 1, 2017

Current usage:
    memset(buf, sizeof(buf), 0x1F);
should be:
    memset(buf, 0x1F, sizeof(buf));
to fill the buffer with '0x1F'.

Signed-off-by: Weibing Zhang zhangweibing@unitedstack.com

test: objectstore: chain_xattr: fix wrong memset usage to fill buf
    Current usage:
        memset(buf, sizeof(buf), 0x1F);
    should be:
        memset(buf, 0x1F, sizeof(buf));
    to fill the buffer with '0x1F'.

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>

@liewegas liewegas merged commit f5803eb into ceph:master Apr 3, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment