summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/powerpc/register-dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/powerpc/register-dump.h')
-rw-r--r--sysdeps/mach/hurd/powerpc/register-dump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/powerpc/register-dump.h b/sysdeps/mach/hurd/powerpc/register-dump.h
index 0377175227..c0b1d06236 100644
--- a/sysdeps/mach/hurd/powerpc/register-dump.h
+++ b/sysdeps/mach/hurd/powerpc/register-dump.h
@@ -1,5 +1,5 @@
/* Dump registers. PowerPC/Hurd version.
- Copyright (C) 1998, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2001, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -113,7 +113,7 @@ register_dump (int fd, struct sigcontext *ctx)
}
/* Write the output. */
- write (fd, buffer, sizeof(buffer));
+ write (fd, buffer, sizeof(buffer) - 1);
}
#define REGISTER_DUMP \