OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5540bb
)
more formatting changes.
author
cgf
<cgf>
Wed, 10 Jan 2001 15:22:40 +0000
(15:22 +0000)
committer
cgf
<cgf>
Wed, 10 Jan 2001 15:22:40 +0000
(15:22 +0000)
winsup/utils/regtool.cc
patch
|
blob
|
history
diff --git
a/winsup/utils/regtool.cc
b/winsup/utils/regtool.cc
index
cb0c666
..
847a98a
100644
(file)
--- 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)