From 4dfded000c8d8d62b1160fdf41357ccd8a77254b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 29 Oct 2012 16:41:15 +0100 Subject: s3: Use file_id_string in file_id_string_tos Reviewed by Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104 --- source3/lib/file_id.c | 7 +------ 1 file changed, 1 insertion(+), 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); } /* -- cgit