Datera / rtslib

The Linux SCSI Target API
http://linux-iscsi.org
Apache License 2.0
19 stars 17 forks source link

util: support aarch64 #4

Closed dotnwat closed 6 years ago

dotnwat commented 9 years ago

On aarch64 uname()[4] doesn't contain the underscore:

nwatkins@node-1:~$ uname -m aarch64

Signed-off-by: Noah Watkins noahwatkins@gmail.com

tramjoe commented 9 years ago

Thanks for the report and patch! I'll double check if the endswith("64") is safe enough an commit one way or an other soon to fix the problem in the coming days.