From 4acc736d86b665c1b936c9f3fedec4fd2779475a Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Mon, 16 Mar 2009 19:04:32 +0000 Subject: - replaced bzero() with memset() --- examples/hid-data/commandline/hidtool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/hid-data/commandline') diff --git a/examples/hid-data/commandline/hidtool.c b/examples/hid-data/commandline/hidtool.c index 923482a..9816052 100644 --- a/examples/hid-data/commandline/hidtool.c +++ b/examples/hid-data/commandline/hidtool.c @@ -110,7 +110,7 @@ int err; } }else if(strcasecmp(argv[1], "write") == 0){ int i, pos; - bzero(buffer, sizeof(buffer)); + memset(buffer, 0, sizeof(buffer)); for(pos = 1, i = 2; i < argc && pos < sizeof(buffer); i++){ pos += hexread(buffer + pos, argv[i], sizeof(buffer) - pos); } -- cgit v1.2.3