[BACK]Return to kern_devconfig.c CVS log [TXT][DIR] Up to [local] / funnyos / kern

Diff for /funnyos/kern/kern_devconfig.c between version 1.5 and 1.6

version 1.5, 2007/10/23 13:32:01 version 1.6, 2007/11/01 13:19:27
Line 86 
Line 86 
         /* attach root; should never fail */          /* attach root; should never fail */
         retval = drp->dr_attach(rootdev, 0, 0);          retval = drp->dr_attach(rootdev, 0, 0);
   
         if (retval == -1)          if (retval != 0)
                 panic("failed to attach rootdev\n");                  panic("failed to attach rootdev\n");
                 /* NOTREACHED */                  /* NOTREACHED */
   
Line 153 
Line 153 
   
                         /* try to attach this device */                          /* try to attach this device */
                         retval = drp->dr_attach(cdevp, aip->ai_locator, aip->ai_flags);                          retval = drp->dr_attach(cdevp, aip->ai_locator, aip->ai_flags);
                         if (retval == -1) {                          if (retval != 0) {
                                 /*                                  /*
                                  * Attachment failed.                                   * Attachment failed.
                                  */                                   */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb