summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r--lib/vsprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 2d41de3f98a1..9f37d6208e99 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1308,14 +1308,14 @@ char *uuid_string(char *buf, char *end, const u8 *addr,
1308 char uuid[UUID_STRING_LEN + 1]; 1308 char uuid[UUID_STRING_LEN + 1];
1309 char *p = uuid; 1309 char *p = uuid;
1310 int i; 1310 int i;
1311 const u8 *index = uuid_be_index; 1311 const u8 *index = uuid_index;
1312 bool uc = false; 1312 bool uc = false;
1313 1313
1314 switch (*(++fmt)) { 1314 switch (*(++fmt)) {
1315 case 'L': 1315 case 'L':
1316 uc = true; /* fall-through */ 1316 uc = true; /* fall-through */
1317 case 'l': 1317 case 'l':
1318 index = uuid_le_index; 1318 index = guid_index;
1319 break; 1319 break;
1320 case 'B': 1320 case 'B':
1321 uc = true; 1321 uc = true;