From 3099663a4cd5dfe2eebe941b458fc7bd5d8fac61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 7 May 2012 10:26:44 +0200 Subject: [PATCH] bzero() is deprecated, use memset(). --- argvsplit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argvsplit.c b/argvsplit.c index d7044c2..f88411d 100644 --- a/argvsplit.c +++ b/argvsplit.c @@ -44,7 +44,7 @@ pkg_argv_split(const char *src, int *argc, char ***argv) src_iter = src; dst_iter = buf; - bzero(buf, strlen(src) + 1); + memset(buf, 0, strlen(src) + 1); *argv = calloc(sizeof (void *), argv_size); (*argv)[argc_count] = dst_iter;