diff options
author | Karel Zak <kzak@redhat.com> | 2009-01-24 00:37:22 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-24 15:20:37 +0100 |
commit | 3e2084614b4d8308d5c0ceb34ec3634eb3353c00 (patch) | |
tree | 9e8a9533371c2ed890d9125685dc5c38f7e7de4d /extras/volume_id/lib/linux_swap.c | |
parent | 9ad0d7370cffff0bc07e9c561559b4066ae39dc6 (diff) |
vol_id: fix ddf version string
The version string in DDF suberblock does not include the null terminator
and the snprintf() function writes at most "size" bytes *including* the
null byte.
old version:
ID_FS_VERSION=02.00.0
new version:
ID_FS_VERSION=02.00.00
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'extras/volume_id/lib/linux_swap.c')
0 files changed, 0 insertions, 0 deletions