summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-10-29 16:41:15 +0100
committerJeremy Allison <jra@samba.org>2012-10-30 00:05:34 +0100
commit4dfded000c8d8d62b1160fdf41357ccd8a77254b (patch)
treebaa0abbf136baa974ebf0b5c7f9cd757a82667b8 /source3
parente44b231f5823bd7a08a65391094db1b7b1eb94e8 (diff)
downloadsamba-4dfded000c8d8d62b1160fdf41357ccd8a77254b.tar.gz
samba-4dfded000c8d8d62b1160fdf41357ccd8a77254b.tar.bz2
samba-4dfded000c8d8d62b1160fdf41357ccd8a77254b.zip
s3: Use file_id_string in file_id_string_tos
Reviewed by Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/file_id.c7
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);
}
/*