diff options
author | grog <grog@FreeBSD.org> | 1999-08-24 02:24:47 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-08-24 02:24:47 +0000 |
commit | b4cf138bbbe03782951b7d864cd1c72df47432b3 (patch) | |
tree | 1cd181cc9c7a8445c96e229e92f615d99a8e165e /sys/dev/vinum | |
parent | a7b84f6d056a53296ed549087422521cc2feeea3 (diff) | |
download | FreeBSD-src-b4cf138bbbe03782951b7d864cd1c72df47432b3.zip FreeBSD-src-b4cf138bbbe03782951b7d864cd1c72df47432b3.tar.gz |
format_config: print preferred plex correctly.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index 4bfaa39..aeed2f9 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -536,6 +536,7 @@ format_config(char *config, int len) volume_state(vol->state)); if (vol->preferred_plex >= 0) /* preferences, */ snprintf(s, + configend - s, " readpol prefer %s", vinum_conf.plex[vol->preferred_plex].name); while (*s) |