Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/blkid/read.c

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

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 374  void blkid_read_cache(blkid_cache cache) Line 374  void blkid_read_cache(blkid_cache cache)
374   DBG(DEBUG_CACHE, printf("reading cache file %s\n",   DBG(DEBUG_CACHE, printf("reading cache file %s\n",
375   cache->bic_filename));   cache->bic_filename));
376    
377   file = fdopen(fd, "r");   file = xfdopen_for_read(fd);
  if (!file)  
  goto errout;  
378    
379   while (fgets(buf, sizeof(buf), file)) {   while (fgets(buf, sizeof(buf), file)) {
380   blkid_dev dev;   blkid_dev dev;

Legend:
Removed from v.983  
changed lines
  Added in v.984