Fix RefBase debugging. O_CREAT must specify the mode.
Change-Id: I51c6df3cfd59b20ca73c3edee86bc2f74dbde1b1
This commit is contained in:
parent
ca3e2a276a
commit
769828d2d4
|
@ -199,7 +199,7 @@ public:
|
|||
{
|
||||
char name[100];
|
||||
snprintf(name, 100, "/data/%p.stack", this);
|
||||
int rc = open(name, O_RDWR | O_CREAT | O_APPEND);
|
||||
int rc = open(name, O_RDWR | O_CREAT | O_APPEND, 644);
|
||||
if (rc >= 0) {
|
||||
write(rc, text.string(), text.length());
|
||||
close(rc);
|
||||
|
|
Loading…
Reference in New Issue