summaryrefslogtreecommitdiffstats
path: root/src/fuse
diff options
context:
space:
mode:
authorSimon Rettberg2016-11-09 17:14:29 +0100
committerSimon Rettberg2016-11-09 17:14:29 +0100
commit233a3ad0ce087fd0264d761e5ddd2d64cdf25fe0 (patch)
treea8bbc773e962e020f0f4484ed4b3459248ae11f4 /src/fuse
parent[KERNEL] PAGE_CACHE_SIZE -> PAGE_SIZE (diff)
downloaddnbd3-233a3ad0ce087fd0264d761e5ddd2d64cdf25fe0.tar.gz
dnbd3-233a3ad0ce087fd0264d761e5ddd2d64cdf25fe0.tar.xz
dnbd3-233a3ad0ce087fd0264d761e5ddd2d64cdf25fe0.zip
[FUSE] Little more verbosity in some error msg
Diffstat (limited to 'src/fuse')
-rw-r--r--src/fuse/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuse/connection.c b/src/fuse/connection.c
index 990dd36..2fba1c7 100644
--- a/src/fuse/connection.c
+++ b/src/fuse/connection.c
@@ -130,7 +130,7 @@ bool connection_init(const char *hosts, const char *lowerImage, const uint16_t r
} else if ( !dnbd3_select_image_reply( &buffer, sock, &remoteVersion, &remoteName, &remoteRid, &remoteSize ) ) {
logadd( LOG_ERROR, "Could not read select image reply (%d)", errno );
} else if ( rid != 0 && rid != remoteRid ) {
- logadd( LOG_ERROR, "rid mismatch" );
+ logadd( LOG_ERROR, "rid mismatch (want: %d, got: %d)", (int)rid, (int)remoteRid );
} else {
image.name = strdup( remoteName );
image.rid = remoteRid;