diff options
Diffstat (limited to 'sbin/mount_udf')
-rw-r--r-- | sbin/mount_udf/mount_udf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c index 825d54b..8a4692d 100644 --- a/sbin/mount_udf/mount_udf.c +++ b/sbin/mount_udf/mount_udf.c @@ -142,11 +142,11 @@ main(int argc, char **argv) iov[i++].iov_len = sizeof(udf_flags); if (udf_flags & UDFMNT_KICONV) { iov[i].iov_base = "cs_disk"; - iov[i++].iov_len = sizeof("cs_disk") + 1; + iov[i++].iov_len = sizeof("cs_disk"); iov[i].iov_base = cs_disk; iov[i++].iov_len = strlen(cs_disk) + 1; iov[i].iov_base = "cs_local"; - iov[i++].iov_len = sizeof("cs_local") + 1; + iov[i++].iov_len = sizeof("cs_local"); iov[i].iov_base = cs_local; iov[i++].iov_len = strlen(cs_local) + 1; } |