commit | 3b70d7e51e0b672a8b337c57c8faf865c0b7f415 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Thu Jun 08 21:48:46 2006 +0200 |
committer | Jens Axboe <axboe@suse.de> | Thu Jun 08 21:48:46 2006 +0200 |
tree | c8a1eb7b9c873fceba50825c8f96bbf635086964 | |
parent | eb8bbf48e79a8c6afd3c84e3d64263d10ee45daa [diff] [blame] |
[PATCH] When logging to a file, stderr should go both to stderr and file
diff --git a/stat.c b/stat.c index cfd27ce..d70c5ca 100644 --- a/stat.c +++ b/stat.c
@@ -233,7 +233,7 @@ p = dirname(foo); sprintf(tmp, "%s/queue", p); if (stat(tmp, &st)) { - fprintf(f_err, "unknown sysfs layout\n"); + log_err("unknown sysfs layout\n"); return; } sprintf(foo, "%s", p);