Description: Open more than 1000 files in tapetest.
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2018-04-11

--- a/tapetest.c
+++ b/tapetest.c
@@ -93,7 +93,7 @@
 		   intercept. */
 
 		/* Add .000, .001, etc. onto the end */
-		sprintf(newpath, "%s.%03d", path, ++opencount);
+		sprintf(newpath, "%s.%06d", path, ++opencount);
 		printf(", intercepted and writing as %s", newpath);
 
 		fd = orig_open(newpath, oflag, mode);
