Magellan Linux

Diff of /trunk/grubby/grubby.c

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

revision 3029 by niro, Tue Jun 27 14:46:56 2017 UTC revision 3031 by niro, Tue Jun 27 14:48:09 2017 UTC
# Line 2538  void setDefaultImage(struct grubConfig * Line 2538  void setDefaultImage(struct grubConfig *
2538   }   }
2539    
2540   /* Case 2: user picked an arbitrary index as the default boot entry */   /* Case 2: user picked an arbitrary index as the default boot entry */
2541   if (newDefaultBootEntryIndex >= FIRST_ENTRY_INDEX   if (newDefaultBootEntryIndex >= FIRST_ENTRY_INDEX) {
     && config->cfi->defaultIsIndex) {  
2542   indexToVerify = newDefaultBootEntryIndex;   indexToVerify = newDefaultBootEntryIndex;
2543    
2544   /* user chose to make latest boot entry the default */   /* user chose to make latest boot entry the default */

Legend:
Removed from v.3029  
changed lines
  Added in v.3031