ref: c67eddd63a3d878285cf9a140688b98864e3942e
parent: 91e82580d09ee342af784ac15baecb8d66215fd1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Nov 12 11:54:59 EST 2018
disk/mkfs: remove unused cputype variable (thanks kvik)
--- a/sys/src/cmd/disk/mkfs.c
+++ b/sys/src/cmd/disk/mkfs.c
@@ -30,7 +30,6 @@
char newfile[LEN];
char oldfile[LEN];
char *proto;
-char *cputype;
char *oldroot;
char *newroot;
char *prog = "mkfs";
@@ -114,10 +113,6 @@
buf = malloc(buflen);
zbuf = malloc(buflen);
memset(zbuf, 0, buflen);
-
- cputype = getenv("cputype");- if(cputype == 0)
- cputype = "386";
errs = 0;
for(i = 0; i < argc; i++){--
⑨