diff --git a/ftpfs.c b/ftpfs.c index a4ed3e3..574a9f9 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -262,7 +262,7 @@ static size_t read_data(void *ptr, size_t size, size_t nmemb, void *data) { do {\ CURLcode res = curl_easy_setopt(handle, option, __VA_ARGS__);\ if (res != CURLE_OK) {\ - fprintf(stderr, "Error setting curl: %s\n", error_buf);\ + fprintf(stderr, "Error setting curl option %d: %s\n", option, error_buf);\ exit(1);\ }\ }while(0)