aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/uuid/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/uuid/parse.c')
-rw-r--r--e2fsprogs/uuid/parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/uuid/parse.c b/e2fsprogs/uuid/parse.c
index 07b894d11..21b29498e 100644
--- a/e2fsprogs/uuid/parse.c
+++ b/e2fsprogs/uuid/parse.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * parse.c --- UUID parsing 2 * parse.c --- UUID parsing
3 * 3 *
4 * Copyright (C) 1996, 1997 Theodore Ts'o. 4 * Copyright (C) 1996, 1997 Theodore Ts'o.
5 * 5 *
6 * %Begin-Header% 6 * %Begin-Header%
@@ -16,7 +16,7 @@
16 * 3. The name of the author may not be used to endorse or promote 16 * 3. The name of the author may not be used to endorse or promote
17 * products derived from this software without specific prior 17 * products derived from this software without specific prior
18 * written permission. 18 * written permission.
19 * 19 *
20 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 20 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
21 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF 22 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
@@ -42,7 +42,7 @@
42int uuid_parse(const char *in, uuid_t uu) 42int uuid_parse(const char *in, uuid_t uu)
43{ 43{
44 struct uuid uuid; 44 struct uuid uuid;
45 int i; 45 int i;
46 const char *cp; 46 const char *cp;
47 char buf[3]; 47 char buf[3];
48 48
@@ -73,7 +73,7 @@ int uuid_parse(const char *in, uuid_t uu)
73 buf[1] = *cp++; 73 buf[1] = *cp++;
74 uuid.node[i] = strtoul(buf, NULL, 16); 74 uuid.node[i] = strtoul(buf, NULL, 16);
75 } 75 }
76 76
77 uuid_pack(&uuid, uu); 77 uuid_pack(&uuid, uu);
78 return 0; 78 return 0;
79} 79}