summaryrefslogtreecommitdiff
path: root/polux/tools
diff options
context:
space:
mode:
Diffstat (limited to 'polux/tools')
-rw-r--r--polux/tools/mkimagedesc/mkimagedesc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/polux/tools/mkimagedesc/mkimagedesc.c b/polux/tools/mkimagedesc/mkimagedesc.c
index ca7d0707ae..b237f448eb 100644
--- a/polux/tools/mkimagedesc/mkimagedesc.c
+++ b/polux/tools/mkimagedesc/mkimagedesc.c
@@ -78,11 +78,11 @@ int main(int argc, char **argv) {
break;
case 'p' :
if (!strncmp(optarg, "spc200e", 7))
- image.archi = SPIDCOM_IMG_DESC_SPC200E;
+ image.arch = SPIDCOM_IMG_DESC_SPC200E;
else if (!strncmp(optarg, "spc200c", 7))
- image.archi = SPIDCOM_IMG_DESC_SPC200C;
+ image.arch = SPIDCOM_IMG_DESC_SPC200C;
else
- image.archi = SPIDCOM_IMG_DESC_UNKNOWN;
+ image.arch = SPIDCOM_IMG_DESC_SPC200_UNKNOWN;
break;
case 'h' :
case '?' :