comparison xdwgrep2.cpp @ 3:edfa39292d78

small fix.
author pyon@macmini
date Tue, 24 Oct 2017 19:29:36 +0900
parents f96c40f7aeae
children 8de5b1bd9506
comparison
equal deleted inserted replaced
2:f96c40f7aeae 3:edfa39292d78
137 break; 137 break;
138 case 'w': 138 case 'w':
139 unmatch = 1; 139 unmatch = 1;
140 break; 140 break;
141 default: 141 default:
142 printf("error: illegal option '%c'.\n", c ); 142 fprintf( stderr, "error: illegal option '%c'.\n", c );
143 exit( 1 ); 143 exit( 1 );
144 } 144 }
145 } 145 }
146 } 146 }
147 147