projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4366863
)
Bug 23829 – Undefined value in partutil.c
author
David Zeuthen
<davidz@redhat.com>
Fri, 18 Sep 2009 20:11:46 +0000
(16:11 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 18 Sep 2009 20:11:46 +0000
(16:11 -0400)
src/partutil.c
patch
|
blob
|
history
diff --git
a/src/partutil.c
b/src/partutil.c
index
8b5663c
..
62f5f89
100644
(file)
--- a/
src/partutil.c
+++ b/
src/partutil.c
@@
-259,6
+259,8
@@
set_le_guid (guint8 *buf, const char *source)
gboolean ret;
int n;
+ ret = FALSE;
+
n = sscanf (source, "%x-%hx-%hx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx",
&guid->data1,
&guid->data2,