X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-3g_apply.c;h=3dcf8d539c8354b96d61d301ffb50003fe640729;hp=9de5774bd256661278f28b270cb2ae4d5cfbf48c;hb=80b48ed7aeb8e6c9460ab254920818f9e36d656e;hpb=aac0f095b5ed1273f91d87009f3b551eedcee085 diff --git a/src/ntfs-3g_apply.c b/src/ntfs-3g_apply.c index 9de5774b..3dcf8d53 100644 --- a/src/ntfs-3g_apply.c +++ b/src/ntfs-3g_apply.c @@ -280,7 +280,7 @@ ntfs_3g_restore_dos_name(ntfs_inode *ni, ntfs_inode *dir_ni, * UTF-16LE internally... which is annoying because we currently have * the UTF-16LE string but not the multibyte string. */ - ret = utf16le_get_tstr(dentry->short_name, dentry->short_name_nbytes, + ret = utf16le_get_tstr(dentry->d_short_name, dentry->d_short_name_nbytes, &dos_name, &dos_name_nbytes); if (ret) goto out_close;