Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed May 11, 2024
1 parent 1c39a62 commit 0899e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upgrade-self.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static int uppm_upgrade_tar_filename(char buf[], const size_t bufSize, const cha
osVersMajor = 14;
}

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

0 comments on commit 0899e9e

Please sign in to comment.