diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2005-03-21 12:26:46 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2005-03-21 12:26:46 +0000 |
commit | 69d5a6415d21494265fcb2e7a511fe6e79290f3d (patch) | |
tree | 559d25c5e7bbe8e601e730cee59c5a5d819b6182 /camlibs/digita | |
parent | 564a4b91152aeb0ed3b963c90ea8cbe7d86aa57f (diff) | |
download | libgphoto2-69d5a6415d21494265fcb2e7a511fe6e79290f3d.tar.gz |
* commands.c: memset had arguments swapped, reported by Tim Waugh.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7657 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/digita')
-rw-r--r-- | camlibs/digita/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/digita/commands.c b/camlibs/digita/commands.c index fc61d8070..c818f6a90 100644 --- a/camlibs/digita/commands.c +++ b/camlibs/digita/commands.c @@ -41,7 +41,7 @@ static void build_command(struct digita_command *cmd, int length, short command) { - memset(cmd, sizeof(*cmd), 0); + memset(cmd, 0, sizeof(*cmd)); /* Length is the sizeof the digita_command minus the length */ /* parameter, plus whatever other data we send */ |