Uses a more specific message if UUID are not supported.

This commit is contained in:
Andrea Mazzoleni 2014-04-03 23:02:43 +02:00
parent dde48ca299
commit 16ddf36121
4 changed files with 58 additions and 40 deletions

View file

@ -994,8 +994,8 @@ static void state_map(struct snapraid_state* state)
ret = devuuid(disk->device, uuid, sizeof(uuid));
if (ret != 0) {
/* uuid not available, just ignore but marks the disk with not persistent UUID */
disk->has_different_uuid = 1;
/* uuid not available, just ignore but marks the disk with unsupported UUID */
disk->has_unsupported_uuid = 1;
continue;
}