OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-22-g267ccb9
Gerrit Code Review
gerrit@openafs.org
Wed, 17 Feb 2010 09:08:31 -0800 (PST)
The following commit has been merged in the master branch:
commit 267ccb986c850b2a8f4431fa210b6c7f1c09021b
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Feb 12 11:54:17 2010 +0000
aklog: Use a function to print debug statements
aklog was scattered with things like
if (dflag) {
printf("Oh no, the world is ending\n");
}
Simplify these by adding a dprintf() function, which only prints its
arguments if dflag is defined. Use this throughout the code.
Change-Id: I673942e9ea6a8b96ea9d11a608cfaeaf00098b88
Reviewed-on: http://gerrit.openafs.org/1324
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/aklog/aklog.c | 150 +++++++++++++++++++----------------------------------
1 files changed, 53 insertions(+), 97 deletions(-)
--
OpenAFS Master Repository