format_config: print preferred plex correctly.

This commit is contained in:
grog 1999-08-24 02:24:47 +00:00
parent a7b84f6d05
commit b4cf138bbb

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)