Sync with sys/i386/i386/userconfig.c revision 1.104.
This commit is contained in:
parent
d4f1ed8581
commit
f474f59dc4
@ -46,7 +46,7 @@
|
|||||||
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
**
|
**
|
||||||
** $Id: userconfig.c,v 1.47 1998/03/10 12:52:55 kato Exp $
|
** $Id: userconfig.c,v 1.48 1998/03/31 09:37:44 kato Exp $
|
||||||
**/
|
**/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2394,7 +2394,7 @@ visuserconfig(void)
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: userconfig.c,v 1.47 1998/03/10 12:52:55 kato Exp $
|
* $Id: userconfig.c,v 1.48 1998/03/31 09:37:44 kato Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "scbus.h"
|
#include "scbus.h"
|
||||||
@ -2638,7 +2638,7 @@ parse_args(char *cmd, CmdParm *parms)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (parms->type == PARM_ADDR) {
|
if (parms->type == PARM_ADDR) {
|
||||||
parms->parm.aparm = (void *)strtoul(cmd, &ptr, 0);
|
parms->parm.aparm = (void *)(uintptr_t)strtoul(cmd, &ptr, 0);
|
||||||
if (cmd == ptr) {
|
if (cmd == ptr) {
|
||||||
printf("Invalid address argument\n");
|
printf("Invalid address argument\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user