mod
authorChristian Grothoff <christian@grothoff.org>
Thu, 8 Apr 2010 13:59:37 +0000 (13:59 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 8 Apr 2010 13:59:37 +0000 (13:59 +0000)
src/fs/fs_test_lib.c

index 205567acef51f140eadc24d18da49428d0021627..e7e23d676dec34d5d8c60d80110670075c298d53 100644 (file)
@@ -488,7 +488,7 @@ file_generator (void *cls,
       mod = (255 - (offset / 1024 / 32));
       if (mod == 0)
        mod = 1;
-      cbuf[pos] = (uint8_t) ((offset * daemon->publish_seed) % mod));  
+      cbuf[pos] = (uint8_t) ((offset * daemon->publish_seed) % mod);  
     }
   return max;
 }