Skip to content

Commit 0899e9e

Browse files
committed
optimized
1 parent 1c39a62 commit 0899e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/upgrade-self.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static int uppm_upgrade_tar_filename(char buf[], const size_t bufSize, const cha
5757
osVersMajor = 14;
5858
}
5959

60-
ret = snprintf(buf, bufSize, "uppm-%s-%s-%s.0-%s.tar.xz", latestVersion, osType, osVersMajor, osArch);
60+
ret = snprintf(buf, bufSize, "uppm-%s-%s-%d.0-%s.tar.xz", latestVersion, osType, osVersMajor, osArch);
6161
#elif defined (__DragonFly__)
6262
ret = snprintf(buf, bufSize, "uppm-%s-%s-%s-%s.tar.xz", latestVersion, osType, osVers, osArch);
6363
#elif defined (__FreeBSD__)

0 commit comments

Comments
 (0)