diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-12 19:32:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-12 19:32:23 -0700 |
| commit | a301c23789fe5303a7971125e4f2dbd7a9c7b510 (patch) | |
| tree | fb3f230b12e1da50a675ad49cd7c1ffa7cf2235a /fs/exec.c | |
| parent | cc75cd5ec653d6b9e37968cf2d2087ff38c03dd2 (diff) | |
"tv_sec" is unsigned long.
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c index 1f7738682388..eef86f55c0cb 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -1162,7 +1162,7 @@ void format_corename(char *corename, const char *pattern, long signr) struct timeval tv; do_gettimeofday(&tv); rc = snprintf(out_ptr, out_end - out_ptr, - "%d", tv.tv_sec); + "%lu", tv.tv_sec); if (rc > out_end - out_ptr) goto out; out_ptr += rc; |
