On 4/10/15 05:46, Peter Maydell wrote:
> On 27 March 2015 at 10:53, Chen Gang <xili_gchen_5...@hotmail.com> wrote:
>> For tilegx, several syscall macros are not supported, so switch them to
>> avoid building break.
>>
>> Signed-off-by: Chen Gang <gang.chen.5...@gmail.com>
> 
>> +#ifdef TARGET_NR_getpgrp
>>      case TARGET_NR_getpgrp:
>>          ret = get_errno(getpgrp());
>>          break;
>>      case TARGET_NR_setsid:
>>          ret = get_errno(setsid());
>>          break;
>> +#endif
> 
> This looks wrong -- your ifdef for NR_getpgrp is covering
> the setsid syscall too.
> 

OK, thanks.


-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed

Reply via email to