Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 6418b9cd79dadc5c42beac4a6f1f396184ab4d5b:

  FIO-VERSION-GEN: use `foo` instead of $(foo) (2013-02-26 21:59:33 +0100)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Jens Axboe (1):
      Revert "debug: only do getpid() if we have to"

 debug.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

---

Diff of recent changes:

diff --git a/debug.c b/debug.c
index ecee8e3..5e98063 100644
--- a/debug.c
+++ b/debug.c
@@ -11,8 +11,9 @@ void __dprint(int type, const char *str, ...)
 
 	assert(type < FD_DEBUG_MAX);
 
+	pid = getpid();
 	if (fio_debug_jobp && *fio_debug_jobp != -1U
-	    && (pid = getpid() != *fio_debug_jobp))
+	    && pid != *fio_debug_jobp)
 		return;
 
 	log_local("%-8s ", debug_levels[type].name);
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux