Diff between fb0998ac3ea5cc85569c5f89b004fa88959af2c0 and ba365020b9f52bb20a23c4d92199bc1bc0429f69

Changed Files

File Additions Deletions Status
obexd/plugins/filesystem.c +1 -2 modified

Full Patch

diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c
index ebb99d7..6660b58 100644
--- a/obexd/plugins/filesystem.c
+++ b/obexd/plugins/filesystem.c
@@ -146,8 +146,7 @@ static gpointer filesystem_open(const char *name, int oflag, mode_t mode,
 		goto failed;
 
 	if (buf.f_bsize * buf.f_bavail < *size) {
-		debug("Not enough free space on disk");
-		errno = -ENOSPC;
+		errno = ENOSPC;
 		goto failed;
 	}