aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-05-28 22:59:05 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-05-28 22:59:05 +0000
commitdb45ab5eace5e984f533f3ee3e2d18b0a4eeaeae (patch)
treea0da8d004677bfd7373fa4f2246a612b27cb64bc
parent355cbfdbef1fbd41b635a5b92195689fd4d3c0b1 (diff)
downloadflashrom-db45ab5eace5e984f533f3ee3e2d18b0a4eeaeae.tar.gz
flashrom-db45ab5eace5e984f533f3ee3e2d18b0a4eeaeae.tar.bz2
flashrom-db45ab5eace5e984f533f3ee3e2d18b0a4eeaeae.zip
Tiny fix for a small fix
There was one line break added too much in the previous commit, sorry. the probing functions need to output at least one '\n' for satisfactory output. that means even in error cases they have to do that. OTOH they should not output a sequence of "\n\n" because it would distort the verbose probing output with empty lines. Corresponding to flashrom svn r1322. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-rw-r--r--spi25.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/spi25.c b/spi25.c
index 0ba19948..d3680fb0 100644
--- a/spi25.c
+++ b/spi25.c
@@ -267,10 +267,8 @@ int probe_spi_res1(struct flashchip *flash)
msg_cdbg("%s: id 0x%x\n", __func__, id2);
- if (id2 != flash->model_id) {
- msg_cdbg("\n");
+ if (id2 != flash->model_id)
return 0;
- }
/* Print the status register to tell the
* user about possible write protection.