diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/file_id.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/lib/file_id.c b/source3/lib/file_id.c index 360b3551f2..ba4b3a3d86 100644 --- a/source3/lib/file_id.c +++ b/source3/lib/file_id.c @@ -36,12 +36,7 @@ bool file_id_equal(const struct file_id *id1, const struct file_id *id2) */ const char *file_id_string_tos(const struct file_id *id) { - char *result = talloc_asprintf(talloc_tos(), "%llx:%llx:%llx", - (unsigned long long)id->devid, - (unsigned long long)id->inode, - (unsigned long long)id->extid); - SMB_ASSERT(result != NULL); - return result; + return file_id_string(talloc_tos(), id); } /* |