As long as all pointers are of the same size (as usual), this doesn't make a difference.
Signed-off-by: Ferenc Wagner <wf...@niif.hu> --- packages/netcfg/dhcp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/packages/netcfg/dhcp.c b/packages/netcfg/dhcp.c index f7ffa00..f706c5c 100644 --- a/packages/netcfg/dhcp.c +++ b/packages/netcfg/dhcp.c @@ -205,7 +205,7 @@ int start_dhcp_client (struct debconfclient *client, char* dhostname) params: 5 hostname: 2 NULL: 1 */ - arguments = malloc((options_count * 2 + 5 + 2 + 1) * sizeof(char **)); + arguments = malloc((options_count * 2 + 5 + 2 + 1) * sizeof(char *)); /* set the command options */ options_count = 0; -- 1.7.2.3 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e33afa581a85861e8758b11f9843da292f747557.1294344443.git.wf...@niif.hu