From: Sebastien GODARD Date: Mon, 2 Sep 2019 12:40:29 +0000 (+0200) Subject: sar: Fix comment X-Git-Tag: v12.1.7~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1505b2bf35884665677b568804c16550b906ead0;p=sysstat sar: Fix comment Signed-off-by: Sebastien GODARD --- diff --git a/common.c b/common.c index 0fb62dd..b1be2f3 100644 --- a/common.c +++ b/common.c @@ -322,14 +322,14 @@ int extract_wwnid(char *name, unsigned long long *wwn, unsigned int *part_nr) if ((wwnlen != 16) && (wwnlen != 32)) return -1; - /* Extract first 8 hex chars of WWN */ + /* Extract first 16 hex chars of WWN */ strncpy(id, name + 6, 16); id[16] = '\0'; if (sscanf(id, "%llx", wwn) == 0) return -1; if (strlen(name) < 38) - /* This is a short (8 hex chars) WWN id */ + /* This is a short (16 hex chars) WWN id */ return 0; /* Extract second part of WWN */