From 5734ece8527451f5e117254e77ff1c2157d2ef9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 3 Jun 2009 12:16:25 +0000 Subject: [PATCH] * Improved output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30948 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../random_file_actions/random_file_actions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp b/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp index 532d2580dc..846552988c 100644 --- a/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp +++ b/src/tests/add-ons/kernel/file_systems/random_file_actions/random_file_actions.cpp @@ -167,7 +167,7 @@ usage(int status) "\t\t\t\tmeaning only check once at the end.\n" " -n, --no-cache\t\tDisables the file cache when doing I/O on\n" "\t\t\t\ta file.\n" - " -a, --always-check\tAlways check contents before removing data.\n" + " -a, --always-check\t\tAlways check contents before removing data.\n" " -k, --keep-dirty\t\tDo not remove the working files on quit.\n" " -v, --verbose\t\t\tShow the actions as being performed\n", kProgramName, kDefaultRunCount, kDefaultFileCount, kDefaultDirCount, @@ -486,7 +486,7 @@ create_dir(EntryVector& dirs) std::string parent = choose_parent(dirs); std::string name = create_name(parent, "dir"); - action("create dir %s", name.c_str()); + action("create dir %s (identifier %lu)", name.c_str(), sCount); if (mkdir(name.c_str(), 0777) != 0) error("creating dir \"%s\" failed: %s", name.c_str(), strerror(errno)); @@ -534,7 +534,7 @@ create_file(const EntryVector& dirs, EntryVector& files) std::string parent = choose_parent(dirs); std::string name = create_name(parent, "file"); - action("create file %s", name.c_str()); + action("create file %s (identifier %lu)", name.c_str(), sCount); int fd = open_file(name, O_RDWR | O_CREAT | O_TRUNC); if (fd < 0)