From: chas w. <ch...@us...> - 2009-08-05 01:00:17
|
Update of /cvsroot/linux-atm/linux-atm/src/arpd In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17320/src/arpd Modified Files: Tag: V2_5_1 atmarp.c Log Message: resolve bug 798565 atmarp -a writes to STDIN Index: atmarp.c =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/arpd/atmarp.c,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -C2 -d -r1.2 -r1.2.4.1 *** atmarp.c 9 Oct 2001 22:33:06 -0000 1.2 --- atmarp.c 5 Aug 2009 01:00:06 -0000 1.2.4.1 *************** *** 93,97 **** return 1; } ! if (write(0,buffer,size) < 0) { perror("write stdout"); return 1; --- 93,97 ---- return 1; } ! if (write(1,buffer,size) < 0) { perror("write stdout"); return 1; |