projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b534a4
)
fix
author
Miklos Szeredi
<miklos@szeredi.hu>
Fri, 9 Dec 2005 20:19:00 +0000
(20:19 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Fri, 9 Dec 2005 20:19:00 +0000
(20:19 +0000)
lib/fuse_opt.c
patch
|
blob
|
history
diff --git
a/lib/fuse_opt.c
b/lib/fuse_opt.c
index e3234f2f2fe304378975ddc8b51782fdbca8f8ed..77675633073d3c9e0a5af44af33e83263a92825b 100644
(file)
--- a/
lib/fuse_opt.c
+++ b/
lib/fuse_opt.c
@@
-104,7
+104,7
@@
static int insert_arg(struct fuse_opt_context *ctx, int pos, const char *arg)
if (pos != ctx->argcout - 1) {
char *newarg = ctx->argvout[ctx->argcout - 1];
- memmove(&ctx->argvout[pos+1], &ctx->argvout[pos],
+ memmove(&ctx->argvout[pos+1], &ctx->argvout[pos],
sizeof(char *) * (ctx->argcout - pos - 1));
ctx->argvout[pos] = newarg;
}