aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-osdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat/linux-osdata.c')
-rw-r--r--gdb/nat/linux-osdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c
index a4db806..2363acc 100644
--- a/gdb/nat/linux-osdata.c
+++ b/gdb/nat/linux-osdata.c
@@ -917,7 +917,7 @@ time_from_time_t (char *time, int maxlen, TIME_T seconds)
time_t t = (time_t) seconds;
/* Per the ctime_r manpage, this buffer needs to be at least 26
- characters long. */
+ characters long. */
char buf[30];
const char *time_str = ctime_r (&t, buf);
strncpy (time, time_str, maxlen);