aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2009-03-16 19:04:32 +0000
committerChristian Starkjohann <cs+github@obdev.at>2009-03-16 19:04:32 +0000
commit4acc736d86b665c1b936c9f3fedec4fd2779475a (patch)
tree94d965bbceeb2e16734a0f8fd56808a297461fc1 /examples
parent094af06e3cf8a72037675995ad4357d1d5bd67a2 (diff)
downloadv-usb-4acc736d86b665c1b936c9f3fedec4fd2779475a.tar.gz
v-usb-4acc736d86b665c1b936c9f3fedec4fd2779475a.tar.bz2
v-usb-4acc736d86b665c1b936c9f3fedec4fd2779475a.zip
- replaced bzero() with memset()
Diffstat (limited to 'examples')
-rw-r--r--examples/hid-data/commandline/hidtool.c2
1 files changed, 1 insertions, 1 deletions
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);
}