]> err.no Git - util-linux/commit
setarch: fix compiler warning
authorLaMont Jones <lamont@debian.org>
Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)
committerLaMont Jones <lamont@debian.org>
Sat, 22 Sep 2007 04:39:49 +0000 (22:39 -0600)
commitb0b71678c0cb9f563459f7c21282ffeff19f6adc
treeab2bd0e31d1c90f4af91cec1f4a05dcdff81760e
parent862c6fb376d3082c34690c52428601db1483ad85
setarch: fix compiler warning

NULL is not 0L.  It's (void*)0.  Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.

Signed-off-by: LaMont Jones <lamont@debian.org>
sys-utils/setarch.c