From 9bc7c41d36d0b9cdb3e385fb4d561a426094488a Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 24 Mar 2009 22:01:56 +0000 Subject: [PATCH] [End of patch series] --- fd_fusemount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.43.0