Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/coreutils/nice.c

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

revision 1122 by niro, Fri Apr 24 18:33:46 2009 UTC revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC
# Line 47  int nice_main(int argc, char **argv) Line 47  int nice_main(int argc, char **argv)
47   }   }
48   }   }
49    
50   BB_EXECVP(*argv, argv); /* Now exec the desired program. */   BB_EXECVP_or_die(argv);
   
  /* The exec failed... */  
  xfunc_error_retval = (errno == ENOENT) ? 127 : 126; /* SUSv3 */  
  bb_simple_perror_msg_and_die(*argv);  
51  }  }

Legend:
Removed from v.1122  
changed lines
  Added in v.1123