Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=1804d4b812a38bd8fb892f0d61c1cf8c97ad539c

commit 1804d4b812a38bd8fb892f0d61c1cf8c97ad539c
Author: James Buren <[email protected]>
Date:   Fri Jun 29 11:29:51 2012 -0500

fw32: small bug fix in umountall

diff --git a/fw32.c b/fw32.c
index 87fb713..41892d4 100644
--- a/fw32.c
+++ b/fw32.c
@@ -415,7 +415,7 @@ umount_all(void)
if(!strncmp(s,FW32_ROOT,strlen(FW32_ROOT)))
{
char *ptr = strstr(s,"\\040");
-      if(ptr);
+      if(ptr)
*ptr = 0;
if(fwrite(s,1,e-s,out) != e-s || fwrite("\n",1,1,out) != 1 || fflush(out))
error("Failed to write to memory stream.\n");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to