Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/networking/udhcp/signalpipe.c

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

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 29  static void signal_handler(int sig) Line 29  static void signal_handler(int sig)
29  {  {
30   unsigned char ch = sig; /* use char, avoid dealing with partial writes */   unsigned char ch = sig; /* use char, avoid dealing with partial writes */
31   if (write(signal_pipe.wr, &ch, 1) != 1)   if (write(signal_pipe.wr, &ch, 1) != 1)
32   bb_perror_msg("cannot send signal");   bb_perror_msg("can't send signal");
33  }  }
34    
35    

Legend:
Removed from v.983  
changed lines
  Added in v.984