diff --git a/WHATS_NEW b/WHATS_NEW index bc89bf850..38af72b85 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.48 - =============================== + Attempt to load dm-zero module if zero target needed but not present. Version 2.02.47 - 22nd May 2009 =============================== diff --git a/lib/zero/zero.c b/lib/zero/zero.c index acf645310..7b3e62e65 100644 --- a/lib/zero/zero.c +++ b/lib/zero/zero.c @@ -58,7 +58,7 @@ static int _zero_target_present(struct cmd_context *cmd, static int _zero_present = 0; if (!_zero_checked) - _zero_present = target_present(cmd, "zero", 0); + _zero_present = target_present(cmd, "zero", 1); _zero_checked = 1;