projects
/
systembsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6edc347
)
minor, init some vars to 0 for saftey
author
kremlin
<ian@kremlin.cc>
Thu, 7 Aug 2014 04:29:51 +0000
(23:29 -0500)
committer
kremlin
<ian@kremlin.cc>
Thu, 7 Aug 2014 04:29:51 +0000
(23:29 -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 aa86a3845b4fc75c312d51c8c9d3bd287d720cb6..fae193ebd972ab79ed0f51d903878f8ed74239d4 100644
(file)
--- a/
src/interfaces/hostnamed/hostnamed.c
+++ b/
src/interfaces/hostnamed/hostnamed.c
@@
-406,6
+406,8
@@
gboolean determine_chassis_and_icon() {
gboolean UNSURE_CHASSIS_FLAG, UNSURE_ICON_FLAG;
hwproduct = hwmodel = hwvendor = hwmachine = NULL;
+ hwproduct_size = hwmodel_size = hwvendor_size = hwmachine_size = 0;
+ UNSURE_CHASSIS_FLAG = UNSURE_ICON_FLAG = FALSE;
hwproduct_name[0] = CTL_HW;
hwproduct_name[1] = HW_PRODUCT;