| author | Christophe Grenier <grenier@cgsecurity.org> | 2010-06-22 13:29:20 (GMT) |
|---|---|---|
| committer | Christophe Grenier <grenier@cgsecurity.org> | 2010-06-22 13:29:20 (GMT) |
| commit | bb9ec324b9d7aba3da3cd7f8174328757d124ea7 (patch) | |
| tree | 89e830a4e9f7cff07a0bb92893ca480362b39cbe | |
| parent | 2b459c3b0e1aa9f5121bdfa049f1c80328f422be (diff) | |
Code cleanup
| -rw-r--r-- | src/intrf.c | 2 |
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) |
