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:
parent
aa8205c4b0
commit
8efca15a8b
@ -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, "."));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user