diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:19:00 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-09 20:19:00 +0000 |
commit | af562032901445a7328b319ea7e4ae787c05d862 (patch) | |
tree | a0c2da234ac081bb39bc33fe2bc4a4755dbc6b4c /lib | |
parent | 3b534a478324b360d2a9804a28c2a49e06176f30 (diff) | |
download | libfuse-af562032901445a7328b319ea7e4ae787c05d862.tar.gz |
fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_opt.c b/lib/fuse_opt.c index e3234f2..7767563 100644 --- 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; } |