[systemd-devel] [PATCH 2/3] set WATCHDOG_USEC environmen variable

Lennart Poettering lennart at poettering.net
Tue Feb 7 07:15:53 PST 2012

On Tue, 07.02.12 15:57, Michael Olbrich (m.olbrich at pengutronix.de) wrote:

> > our_env needs to be allocated larger for this. You need to increase the
> > new0() line to 5 instead of the current 4 char* objects.
> Not in this case I think. An earlier commit removed on env variable without
> decreasing  the new0() line. with this patch we have 3 possible env
> variables here: NOTIFY_SOCKET, MAINPID and WATCHDOG_USEC, so we need 4
> char* objects, right?

Oh, you are right, indeed!

Sorry for the confusion.


Lennart Poettering - Red Hat, Inc.

More information about the systemd-devel mailing list