diff options
author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-10-31 13:38:24 +0000 |
---|---|---|
committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-10-31 13:38:24 +0000 |
commit | e812ea8f8576cd8dbbe8a956053c200a35362480 (patch) | |
tree | 699b26faf165f4c6a07d89813ff91d4effd2160c /dmidecode.c | |
parent | 8db7b4d856573841afc6de7e16bbb286b0269cbd (diff) | |
download | python-dmidecode-e812ea8f8576cd8dbbe8a956053c200a35362480.tar.gz python-dmidecode-e812ea8f8576cd8dbbe8a956053c200a35362480.tar.xz python-dmidecode-e812ea8f8576cd8dbbe8a956053c200a35362480.zip |
Fixed dump. The `offset' problem was not really an offset problem - it was a
silly typo.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@102 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'dmidecode.c')
-rw-r--r-- | dmidecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c index e484bf8..00fcceb 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -4348,7 +4348,7 @@ int dumpling(u8 *buf, const char *dumpfile, u8 mode) { if((buff = mem_chunk(base, len, DEFAULT_MEM_DEV)) != NULL) { //. Part 1. printf("# Writing %d bytes to %s.\n", len, dumpfile); - write_dump(32, len, buf, dumpfile, 0); + write_dump(32, len, buff, dumpfile, 0); free(buff); //. Part 2. |