format_config: print preferred plex correctly.

This commit is contained in:
Greg Lehey 1999-08-24 02:24:47 +00:00
parent c4bbdf0e5a
commit 21c3b10bbc

View File

@ -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)