r1238 - trunk/src/host/dfu-util/src

werner at sita.openmoko.org werner at sita.openmoko.org
Sun Mar 4 16:15:03 CET 2007


Author: werner
Date: 2007-03-04 16:15:01 +0100 (Sun, 04 Mar 2007)
New Revision: 1238

Modified:
   trunk/src/host/dfu-util/src/sam7dfu.c
Log:
Fixed = vs. == typo.



Modified: trunk/src/host/dfu-util/src/sam7dfu.c
===================================================================
--- trunk/src/host/dfu-util/src/sam7dfu.c	2007-03-04 14:38:08 UTC (rev 1237)
+++ trunk/src/host/dfu-util/src/sam7dfu.c	2007-03-04 15:15:01 UTC (rev 1238)
@@ -97,7 +97,7 @@
 	}
 
 	bytes_per_hash = st.st_size / PROGRESS_BAR_WIDTH;
-	if (bytes_per_hash = 0)
+	if (bytes_per_hash == 0)
 		bytes_per_hash = 1;
 	printf("bytes_per_hash=%u\n", bytes_per_hash);
 #if 0





More information about the commitlog mailing list