ntfs_pathname_to_inode: cleanup perror logging
parent
77096a387a
commit
0f18c0f65f
|
@ -482,8 +482,8 @@ ntfs_inode *ntfs_pathname_to_inode(ntfs_volume *vol, ntfs_inode *parent,
|
|||
|
||||
len = ntfs_mbstoucs(p, &unicode);
|
||||
if (len < 0) {
|
||||
ntfs_log_perror("Couldn't convert filename to Unicode: "
|
||||
"'%s'.\n", p);
|
||||
ntfs_log_perror("Could not convert filename to Unicode:"
|
||||
" '%s'", p);
|
||||
err = errno;
|
||||
goto close;
|
||||
} else if (len > NTFS_MAX_NAME_LEN) {
|
||||
|
|
Loading…
Reference in New Issue