From: Miklos Szeredi Date: Fri, 27 Aug 2010 11:29:54 +0000 (+0200) Subject: cuse: fix minor typos in error messages X-Git-Tag: fuse_2_9_0~107 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7cc73a47ddbc25666f0fba1872099eb3245ba25e;p=qemu-gpiodev%2Flibfuse.git cuse: fix minor typos in error messages This basically was a %s/fuse:/cuse:/ to remove some apparent copy/paste errors. Signed-off-by: Paul Bolle --- diff --git a/lib/cuse_lowlevel.c b/lib/cuse_lowlevel.c index d507933..402cf4b 100644 --- a/lib/cuse_lowlevel.c +++ b/lib/cuse_lowlevel.c @@ -214,14 +214,14 @@ void cuse_lowlevel_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg) f->conn.want = 0; if (arg->major < 7) { - fprintf(stderr, "fuse: unsupported protocol version: %u.%u\n", + fprintf(stderr, "cuse: unsupported protocol version: %u.%u\n", arg->major, arg->minor); fuse_reply_err(req, EPROTO); return; } if (bufsize < FUSE_MIN_READ_BUFFER) { - fprintf(stderr, "fuse: warning: buffer size too small: %zu\n", + fprintf(stderr, "cuse: warning: buffer size too small: %zu\n", bufsize); bufsize = FUSE_MIN_READ_BUFFER; } @@ -306,9 +306,9 @@ struct fuse_session *cuse_lowlevel_setup(int argc, char *argv[], fd = open(devname, O_RDWR); if (fd == -1) { if (errno == ENODEV || errno == ENOENT) - fprintf(stderr, "fuse: device not found, try 'modprobe cuse' first\n"); + fprintf(stderr, "cuse: device not found, try 'modprobe cuse' first\n"); else - fprintf(stderr, "fuse: failed to open %s: %s\n", + fprintf(stderr, "cuse: failed to open %s: %s\n", devname, strerror(errno)); goto err_se; }