diff options
author | Christopher Faylor <me@cgf.cx> | 2001-01-10 15:22:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-01-10 15:22:40 +0000 |
commit | 7adad1217b6787ffef0ef1d0f42b73abcf504f3d (patch) | |
tree | 584ac23132df5c561e83d780d98a953b3129590a /winsup | |
parent | d9d921952cc328c210a5900a0bca058095589f81 (diff) | |
download | newlib-7adad1217b6787ffef0ef1d0f42b73abcf504f3d.zip newlib-7adad1217b6787ffef0ef1d0f42b73abcf504f3d.tar.gz newlib-7adad1217b6787ffef0ef1d0f42b73abcf504f3d.tar.bz2 |
more formatting changes.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/regtool.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/utils/regtool.cc b/winsup/utils/regtool.cc index cb0c666..847a98a 100644 --- a/winsup/utils/regtool.cc +++ b/winsup/utils/regtool.cc @@ -155,7 +155,7 @@ translate (char *key) break; case 'x': if (!isxdigit (s[1])) - c = 0; + c = '0'; else { c = tohex (*++s); @@ -401,9 +401,11 @@ cmd_set () n + 1); break; case KT_AUTO: - default: rv = ERROR_SUCCESS; break; + default: + rv = ERROR_INVALID_CATEGORY; + break; } if (rv != ERROR_SUCCESS) |