diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-08 23:42:23 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-04-08 23:57:34 +0200 |
commit | aa9e782a4d27600096230be44e0e18971e503e20 (patch) | |
tree | e12236de05b39a3780e0498bb13e30d2caf5262d /source4/lib | |
parent | 7c54ff5898b98e75c848dde84e1d1845ec0e3666 (diff) | |
download | samba-aa9e782a4d27600096230be44e0e18971e503e20.tar.gz samba-aa9e782a4d27600096230be44e0e18971e503e20.tar.bz2 samba-aa9e782a4d27600096230be44e0e18971e503e20.zip |
s4:registry - "patchfile_preg.c" - make a SIVAL statement nicer
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/registry/patchfile_preg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/patchfile_preg.c b/source4/lib/registry/patchfile_preg.c index c68fb98a13..8854225c76 100644 --- a/source4/lib/registry/patchfile_preg.c +++ b/source4/lib/registry/patchfile_preg.c @@ -186,7 +186,7 @@ _PUBLIC_ WERROR reg_preg_diff_save(TALLOC_CTX *ctx, const char *filename, } strncpy(preg_header.hdr, "PReg", 4); - SIVAL(&preg_header, 4, 1); + SIVAL(&preg_header.version, 0, 1); write(data->fd, (uint8_t *)&preg_header,8); data->ctx = ctx; |