diff options
author | NeilBrown <neilb@suse.de> | 2010-08-05 13:13:02 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-08-05 13:13:02 +1000 |
commit | f21e18ca8969f21549c646096f354eac57cd53a8 (patch) | |
tree | 5e0b0474075ba8f629860964914fe18a6892ccd4 /mdmon.c | |
parent | 9aaada0530396078063b17d138beb74fcbcfeebc (diff) |
Compile with -Wextra by default
This produced lots of warning, some of which pointed to actual bugs.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ int main(int argc, char *argv[]) /* update cmdline so this mdmon instance can be * distinguished from others in a call to ps(1) */ - if (strlen(devname) <= container_len) { + if (strlen(devname) <= (unsigned)container_len) { memset(container_name, 0, container_len); sprintf(container_name, "%s", devname); } |