diff --git a/Makefile.am b/Makefile.am index e3972dac..27d537da 100644 --- a/Makefile.am +++ b/Makefile.am @@ -816,7 +816,7 @@ distwindows-x86: $(DISTWIN) rm -f $(PACKAGE)-$(VERSION)-windows-x86.zip mkdir tmp cp $(DISTWIN) tmp - cp support/smartctl-nc.exe tmp/smartctl-nc.exe + cp support/smartctl.exe tmp/smartctl.exe cp support/hdparm.exe tmp/hdparm.exe utod < snapraid.conf.example.windows > tmp/snapraid.conf.example utod < INSTALL.windows > tmp/install.txt @@ -832,7 +832,7 @@ distwindows-x64: $(DISTWIN) rm -f $(PACKAGE)-$(VERSION)-windows-x64.zip mkdir tmp cp $(DISTWIN) tmp - cp support/smartctl-nc.exe tmp/smartctl-nc.exe + cp support/smartctl.exe tmp/smartctl.exe cp support/hdparm.exe tmp/hdparm.exe utod < snapraid.conf.example.windows > tmp/snapraid.conf.example utod < INSTALL.windows > tmp/install.txt diff --git a/cmdline/mingw.c b/cmdline/mingw.c index 1046c352..d111442c 100644 --- a/cmdline/mingw.c +++ b/cmdline/mingw.c @@ -2041,7 +2041,7 @@ static int devscan(tommy_list* list) FILE* f; int ret; - snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl-nc.exe\" --scan-open -d pd", exedir); + snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" --scan-open -d pd", exedir); f = _wpopen(cmd, L"rt"); if (!f) { @@ -2084,7 +2084,7 @@ static int devsmart(uint64_t device, uint64_t* smart, char* serial) FILE* f; int ret; - snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl-nc.exe\" -a /dev/pd%" PRIu64, exedir, device); + snwprintf(cmd, sizeof(cmd), L"\"%lssmartctl.exe\" -a /dev/pd%" PRIu64, exedir, device); f = _wpopen(cmd, L"rt"); if (!f) {