From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> --- Manage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Manage.c b/Manage.c index d5110a7..d9775de 100644 --- a/Manage.c +++ b/Manage.c @@ -86,7 +86,7 @@ int Manage_ro(char *devname, int fd, int readonly) sysfs_set_str(mdi, NULL, "metadata_version", vers); cp = strchr(vers+10, '/'); - if (*cp) + if (cp) *cp = 0; ping_monitor(vers+10); if (mdi->array.level <= 0) -- 1.7.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html