From db7f077d5e987f4cf98ea9fcb2d94d29be6732b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 26 Sep 2004 17:36:42 +0000 Subject: [PATCH] memset is more portable than bzero git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1855 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- yaesu/ft990.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yaesu/ft990.c b/yaesu/ft990.c index e493550c8..646b96ebc 100644 --- a/yaesu/ft990.c +++ b/yaesu/ft990.c @@ -1,5 +1,5 @@ /* - * hamlib - (C) Stephane Fillod 2002, 2003 (fillods at users.sourceforge.net) + * hamlib - (C) Stephane Fillod 2002-2004 (fillods at users.sourceforge.net) * * ft990.c - (C) Berndt Josef Wulf (wulf at ping.net.au) * @@ -7,7 +7,7 @@ * via serial interface to an FT-990 using the "CAT" interface * * - * $Id: ft990.c,v 1.12 2004-09-22 13:56:50 bwulf Exp $ + * $Id: ft990.c,v 1.13 2004-09-26 17:36:42 fillods Exp $ * * * This library is free software; you can redistribute it and/or @@ -2310,7 +2310,7 @@ int ft990_get_channel (RIG *rig, channel_t *chan) // This should be the responsibility of the frontend temp1 = chan->channel_num; temp2 = chan->vfo; - bzero(chan,sizeof(channel_t)); + memset(chan,0,sizeof(channel_t)); chan->channel_num = temp1; chan->vfo = temp2;