Re: [PATCH] fix two compile time warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 20, 2010 at 02:59:35AM -0700, Maciej Åenczykowski wrote:
> From: Maciej Åenczykowski <maze@xxxxxxxxxx>
> 
> jobs.c: In function 'sprint_status':
> jobs.c:427: warning: format not a string literal and no format arguments
> 
> trap.c: In function 'exitshell':
> trap.c:354: warning: variable 'status' might be clobbered by 'longjmp' or 'vfork'
> 
> Signed-off-by: Maciej Åenczykowski <maze@xxxxxxxxxx>

Thanks for the patch.  I've applied the second hunk.

As for the first, if I get annoyed enough after upgrading my gcc
then I'll think about it :) It's a false positive as strsignal
should never return anything that requires "%s".

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux