From 7adad1217b6787ffef0ef1d0f42b73abcf504f3d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 10 Jan 2001 15:22:40 +0000 Subject: [PATCH] more formatting changes. --- winsup/utils/regtool.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/winsup/utils/regtool.cc b/winsup/utils/regtool.cc index cb0c666af..847a98a8d 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)