Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/uuid/gen_uuid.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 532 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 117  static void get_random_bytes(void *buf, Line 117  static void get_random_bytes(void *buf,
117   */   */
118   for (cp = buf, i = 0; i < nbytes; i++)   for (cp = buf, i = 0; i < nbytes; i++)
119   *cp++ ^= (rand() >> 7) & 0xFF;   *cp++ ^= (rand() >> 7) & 0xFF;
  return;  
120  }  }
121    
122  /*  /*

Legend:
Removed from v.532  
changed lines
  Added in v.816