Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/scripts/basic/fixdep.c

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

revision 1296 by niro, Sat Sep 1 22:45:15 2007 UTC revision 1297 by niro, Fri May 27 15:12:11 2011 UTC
# Line 364  void print_deps(void) Line 364  void print_deps(void)
364  void traps(void)  void traps(void)
365  {  {
366   static char test[] __attribute__((aligned(sizeof(int)))) = "CONF";   static char test[] __attribute__((aligned(sizeof(int)))) = "CONF";
367     int *p = (int *)test;
368    
369   if (*(int *)test != INT_CONF) {   if (*p != INT_CONF) {
370   fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n",   fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n",
371   *(int *)test);   *p);
372   exit(2);   exit(2);
373   }   }
374  }  }

Legend:
Removed from v.1296  
changed lines
  Added in v.1297