aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2012-01-04 07:04:43 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2012-01-04 07:04:43 +0000
commit24bc5224c63574c1a2a3cb46d68accfaf46f655c (patch)
treed23928d21905b8d7829ddd991fdb8638a15901b1 /usr.sbin
parent1331bbc33fba4b3c6d9e3e1d93b166089b744e74 (diff)
downloadsrc-24bc5224c63574c1a2a3cb46d68accfaf46f655c.tar.gz
src-24bc5224c63574c1a2a3cb46d68accfaf46f655c.zip
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mptable/mptable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mptable/mptable.c b/usr.sbin/mptable/mptable.c
index 92279bc1a77d..3c38ccfa4d5a 100644
--- a/usr.sbin/mptable/mptable.c
+++ b/usr.sbin/mptable/mptable.c
@@ -828,7 +828,7 @@ MPConfigTableHeader( u_int32_t pap )
int ofd;
u_char dumpbuf[ 4096 ];
- ofd = open( "/tmp/mpdump", O_CREAT | O_RDWR );
+ ofd = open( "/tmp/mpdump", O_CREAT | O_RDWR, 0666 );
seekEntry( paddr );
readEntry( dumpbuf, 1024 );
write( ofd, dumpbuf, 1024 );