summaryrefslogtreecommitdiffstats
path: root/src/intrf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-06-22 15:29:20 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-06-22 15:29:20 +0200
commitbb9ec324b9d7aba3da3cd7f8174328757d124ea7 (patch)
tree89e830a4e9f7cff07a0bb92893ca480362b39cbe /src/intrf.c
parent2b459c3b0e1aa9f5121bdfa049f1c80328f422be (diff)
Code cleanup
Diffstat (limited to 'src/intrf.c')
-rw-r--r--src/intrf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intrf.c b/src/intrf.c
index 2607e1c..2838551 100644
--- a/src/intrf.c
+++ b/src/intrf.c
@@ -140,6 +140,8 @@ const char *aff_part_aux(const unsigned int newline, const disk_t *disk_car, con
{
arch=disk_car->arch;
log_error("BUG: No arch for a partition\n");
+ msg[0]='\0';
+ return msg;
}
msg[sizeof(msg)-1]=0;
if((newline&AFF_PART_ORDER)==AFF_PART_ORDER)