Make error message clearer on fail.
authorJeremy Allison <jra@samba.org>
Thu, 14 May 2009 23:30:11 +0000 (16:30 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 14 May 2009 23:30:50 +0000 (16:30 -0700)
Jeremy.

source3/torture/torture.c

index 619da05aab7ad8daf4ebe682a0f012a176b46d47..1f099da8bb75f5f590fcd22a7f868ae9d946b14d 100644 (file)
@@ -5312,8 +5312,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]){