1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

don't write to static pointers; patch from Anthony

(This used to be commit b766fe78a7)
This commit is contained in:
Gerald Carter 2003-09-26 14:44:11 +00:00
parent aa8205c4b0
commit 8efca15a8b

View File

@ -480,7 +480,7 @@ main() {
/* Ensure this is kernel 2.4 or higher */
uname(&uts);
release = uts.release;
release = strdup(uts.release);
major = atoi(strsep(&release, "."));
minor = atoi(strsep(&release, "."));