Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sheepfs: clean up one sheepfs_pr

sheepfs_pr interally print the line nr already, we don't need to print it again

Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
  • Loading branch information...
commit 2a60ceb6192e4c218f4070459c92ddde262af902 1 parent 22d4227
@liuy liuy authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 sheepfs/volume.c
View
7 sheepfs/volume.c
@@ -203,10 +203,9 @@ static int volume_rw_object(char *buf, uint64_t oid, size_t size,
put_socket_fd(vdi, sock_idx);
if (ret || rsp->result != SD_RES_SUCCESS) {
- sheepfs_pr(
- "[%s] failed to %s object %" PRIx64 " ret %d, res %u\n",
- __func__, rw == VOLUME_READ ? "read" : "write",
- oid, ret, rsp->result);
+ sheepfs_pr("failed to %s object %" PRIx64 " ret %d, res %u\n",
+ rw == VOLUME_READ ? "read" : "write",
+ oid, ret, rsp->result);
return -1;
}
Please sign in to comment.
Something went wrong with that request. Please try again.