Description: adds support for printf("%qx...") makes hexdump from bsdmainutils work Index: b/usr/src/lib/libc/port/print/doprnt.c =================================================================== --- a/usr/src/lib/libc/port/print/doprnt.c +++ b/usr/src/lib/libc/port/print/doprnt.c @@ -862,6 +862,14 @@ _ndoprnt(const char *format, va_list in_ lflag++; goto charswitch; + case 'q': /* same as ll */ + if (!(flagword & XLONG)) { + /* long long */ + flagword &= ~LENGTH; + flagword |= XLONG; + } + goto charswitch; + case 'L': /* long double */ flagword |= QUAD; goto charswitch;