diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-04-20 00:13:31 -0400 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-04-20 00:13:31 -0400 |
commit | e47781fcea24778a16e4be53e5b84eab8db9413c (patch) | |
tree | 449b205fd14a772097b8fbac4f3ebf5cd35810d8 /maps.c | |
parent | 3ab8f4bf33d906cb1084f7b4036556bfb4bb73ec (diff) | |
download | mdadm-e47781fcea24778a16e4be53e5b84eab8db9413c.tar.gz |
maps: Terminate 'modes' map correctly.
While we are unlikely to fail here, terminate the modes map correctly
to ensure we don't start running over undefined data.
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'maps.c')
-rw-r--r-- | maps.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,6 +106,7 @@ mapping_t modes[] = { { "grow", GROW}, { "incremental", INCREMENTAL}, { "auto-detect", AUTODETECT}, + { NULL, 0 } }; mapping_t faultylayout[] = { |