Changeset 360
- Timestamp:
- Oct 18, 2011, 11:51:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kern_head.c
r346 r360 441 441 } 442 442 443 if (minor != 4 && minor != 6) 444 { 445 fprintf(stderr, "kern_head: kernel %s not supported\n", p); 446 exit (EXIT_FAILURE); 443 if (major == 2) 444 { 445 if (minor != 4 && minor != 6) 446 { 447 fprintf(stderr, "kern_head: kernel %s not supported\n", p); 448 exit (EXIT_FAILURE); 449 } 447 450 } 448 451 … … 492 495 sh_smap[i].addr = 0UL; 493 496 } 494 if (m inor == 6) /* fix syscall map for 2.6 */497 if (major > 2 || minor == 6) /* fix syscall map for 2.6 */ 495 498 { 496 499 strcpy(sh_smap[0].name, "sys_restart_syscall");
Note:
See TracChangeset
for help on using the changeset viewer.