mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Update utsname to use proper compatible interface to avoid API issues.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@123 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include <linux/utsname.h>
|
||||
|
||||
#define utsname system_utsname
|
||||
extern struct new_utsname *__utsname(void);
|
||||
|
||||
#define utsname (*__utsname())
|
||||
|
||||
#endif /* SPL_UTSNAME_H */
|
||||
|
||||
Reference in New Issue
Block a user