From ae42186cf59d49f323ede130fc1d3bab54f739c1 Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 30 Oct 2005 22:41:20 +0000 Subject: [PATCH] utils_inode_get_name(): fix return value in case of success (the function always returned with failure beforehand) --- ntfsprogs/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfsprogs/utils.c b/ntfsprogs/utils.c index b412cc47..cc9d0fa2 100644 --- a/ntfsprogs/utils.c +++ b/ntfsprogs/utils.c @@ -525,7 +525,7 @@ int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize) ntfs_log_debug("Pathname: %s\n", buffer); - return 0; + return 1; } /**