From: Sapan Bhatia Date: Tue, 24 Mar 2009 22:01:56 +0000 (+0000) Subject: [End of patch series] X-Git-Tag: 0.9-0~14 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=9bc7c41d36d0b9cdb3e385fb4d561a426094488a [End of patch series] --- diff --git a/fd_fusemount.c b/fd_fusemount.c index de05b55..daae97a 100644 --- a/fd_fusemount.c +++ b/fd_fusemount.c @@ -50,8 +50,8 @@ void check_source(char *source) { } void check_target(char *target) { - source[arg_length-1]='\0'; - if (strstr(source,"..")) { + target[arg_length-1]='\0'; + if (strstr(target,"..")) { printf("Tried mounting with target = %s\n", target); exit(1); }