diff options
author | Donald Douwsma <donaldd@sgi.com> | 2007-02-19 14:54:20 +0000 |
---|---|---|
committer | Donald Douwsma <donaldd@sgi.com> | 2007-02-19 14:54:20 +0000 |
commit | 44214b5af77858762207691ff6aaed590eab5d7e (patch) | |
tree | 15f2252ab13bc94c0ca7c1de5a6decca9cd08031 /quota | |
parent | e321f6295d0077bf1bca22bfcefff2cf8d14b355 (diff) | |
download | xfsprogs-dev-44214b5af77858762207691ff6aaed590eab5d7e.tar.gz |
Fix grace time display problems in xfs_quota
Merge of master-melb:xfs-cmds:28131a by kenmcd.
Diffstat (limited to 'quota')
-rw-r--r-- | quota/quota.h | 2 | ||||
-rw-r--r-- | quota/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/quota/quota.h b/quota/quota.h index f9150879df..78f21645f9 100644 --- a/quota/quota.h +++ b/quota/quota.h @@ -49,7 +49,7 @@ enum { */ extern char *type_to_string(uint __type); extern char *form_to_string(uint __form); -extern char *time_to_string(__uint32_t __time, uint __flags); +extern char *time_to_string(time_t __time, uint __flags); extern char *bbs_to_string(__uint64_t __v, char *__c, uint __size); extern char *num_to_string(__uint64_t __v, char *__c, uint __size); extern char *pct_to_string(__uint64_t __v, __uint64_t __t, char *__c, uint __s); diff --git a/quota/util.c b/quota/util.c index 10e78f4b1a..274bfe63c5 100644 --- a/quota/util.c +++ b/quota/util.c @@ -29,7 +29,7 @@ char * time_to_string( - __uint32_t origin, + time_t origin, uint flags) { static char timestamp[32]; |