with "0x".
Pointed out by Philippe Meunier.
-/* $OpenBSD: cmd.c,v 1.178 2023/11/10 16:20:52 krw Exp $ */
+/* $OpenBSD: cmd.c,v 1.179 2023/11/18 15:42:09 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
char *ep;
uint64_t val;
+ flagstr += strspn(flagstr, WHITESPACE);
if (flagstr[0] == '0' && (flagstr[1] == 'x' || flagstr[1] == 'X')) {
errno = 0;
val = strtoull(flagstr, &ep, 16);