projects
/
systembsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81ab32
)
minor, initialize counter to zero. i might be a bit tired.
author
kremlin
<ian@kremlin.cc>
Thu, 7 Aug 2014 05:18:58 +0000
(
00:18
-0500)
committer
kremlin
<ian@kremlin.cc>
Thu, 7 Aug 2014 05:18:58 +0000
(
00:18
-0500)
src/interfaces/hostnamed/hostnamed.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/hostnamed/hostnamed.c
b/src/interfaces/hostnamed/hostnamed.c
index f1c3fb4b1b11e47cf17f3ef9fdc61343a4cd4e5a..e7edd7e6a69b00586925976ea46b404eaa457aa3 100644
(file)
--- a/
src/interfaces/hostnamed/hostnamed.c
+++ b/
src/interfaces/hostnamed/hostnamed.c
@@
-409,6
+409,7
@@
gboolean determine_chassis_and_icon() {
hwproduct_size = hwmodel_size = hwvendor_size = hwmachine_size = bufsize;
UNSURE_CHASSIS_FLAG = UNSURE_ICON_FLAG = FALSE;
+ i = 0;
hwproduct = (char*)g_malloc0(4096);
hwmodel = (char*)g_malloc0(4096);