fix a debug statement to print also the directory name (and not
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 27 Feb 2009 04:21:45 +0000 (15:21 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 27 Feb 2009 04:21:45 +0000 (15:21 +1100)
whatever the top of stack hyappened to point at :-)

nfsio.c

diff --git a/nfsio.c b/nfsio.c
index cafee9eb51330c6592ba1ff18ca7867622e99790..4155622dea24c283c98ebb191e7e7871e117dabe 100644 (file)
--- a/nfsio.c
+++ b/nfsio.c
@@ -153,7 +153,7 @@ static void nfs3_deltree(struct dbench_op *op)
 
        res = nfsio_lookup(cbd->nfsio, cbd->dirname, NULL);
        if (res != NFS3ERR_NOENT) {
-               printf("Directory \"%s\" not empty. Aborting\n");
+               printf("Directory \"%s\" not empty. Aborting\n", cbd->dirname);
                free(cbd);
                exit(10);
        }