On Mon, 21.05.12 18:16, Frederic Crozat ([email protected]) wrote: Thanks, applied!
> >From 5944312f891658446edea08e6907dff05daebdec Mon Sep 17 00:00:00 2001 > From: Frederic Crozat <[email protected]> > Date: Mon, 21 May 2012 16:53:18 +0200 > Subject: [PATCH] util: fix typo in newdup > > --- > src/shared/util.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/shared/util.h b/src/shared/util.h > index 3dce047..33a7e7c 100644 > --- a/src/shared/util.h > +++ b/src/shared/util.h > @@ -103,7 +103,7 @@ bool streq_ptr(const char *a, const char *b); > > #define newa(t, n) ((t*) alloca(sizeof(t)*(n))) > > -#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n)) > +#define newdup(t, p, n) ((t*) memdup(p, sizeof(t)*(n))) > > #define malloc0(n) (calloc((n), 1)) > > _______________________________________________ > systemd-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/systemd-devel Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
