NetBSD-Bugs archive

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

Re: bin/46564: yppush pushes map to himself triggering an error message each time



The following reply was made to PR bin/46564; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46564: yppush pushes map to himself triggering an error 
message each time
Date: Fri, 8 Jun 2012 15:34:45 +0200

 On Fri, Jun 08, 2012 at 12:45:03PM +0000, Wolfgang Stukenbrock wrote:
 >  should be changed into
 >  errx(1, .... long (%lu - limit %lu)", (unsigned long)(strlen(...)), 
 >  (unsigned long)(sizeof(...) - 1));
 
 Please use %zu instead and don't cast.
 
 Martin
 


Home | Main Index | Thread Index | Old Index