summaryrefslogtreecommitdiffstats
path: root/source/web/statuspage.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-05 23:40:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:24 -0500
commit8f3d530c5a748ea90f42ed8fbe68ae92178d4875 (patch)
treed565d4dec26ef1dc17b9f76351138ffdddca58ff /source/web/statuspage.c
parentb73685d20751ac343faab79332552cd7ee92d831 (diff)
downloadsamba-8f3d530c5a748ea90f42ed8fbe68ae92178d4875.tar.gz
samba-8f3d530c5a748ea90f42ed8fbe68ae92178d4875.tar.xz
samba-8f3d530c5a748ea90f42ed8fbe68ae92178d4875.zip
r21714: Change the VFS interface to use struct timespec
for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
Diffstat (limited to 'source/web/statuspage.c')
-rw-r--r--source/web/statuspage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/statuspage.c b/source/web/statuspage.c
index 459b679d817..a88e5debd0e 100644
--- a/source/web/statuspage.c
+++ b/source/web/statuspage.c
@@ -101,7 +101,7 @@ static char *mapPid2Machine (struct process_id pid)
static char *tstring(time_t t)
{
static pstring buf;
- pstrcpy(buf, time_to_asc(&t));
+ pstrcpy(buf, time_to_asc(t));
all_string_sub(buf," ","&nbsp;",sizeof(buf));
return buf;
}