From: Jeremy Allison Date: Thu, 14 May 2009 23:30:11 +0000 (-0700) Subject: Make error message clearer on fail. X-Git-Tag: tdb-1.1.5~547 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=f61959e87abdc85594cea83fadc9e173852cf8a6 Make error message clearer on fail. Jeremy. --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 99bf3785b69..fa1a22228ac 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5305,8 +5305,8 @@ static void shortname_list_fn(const char *mnt, file_info *finfo, const char *nam if (strchr(force_shortname_chars, i)) { if (!finfo->short_name[0]) { /* Shortname not created when it should be. */ - d_printf("(%s) ERROR: Shortname was not created for file %s\n", - __location__, finfo->name); + d_printf("(%s) ERROR: Shortname was not created for file %s containing %d\n", + __location__, finfo->name, i); s->val = true; } } else if (finfo->short_name[0]){