diff options
author | Thomas Osterried <thomas@osterried.de> | 2009-01-22 11:08:50 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2009-01-22 11:08:50 +0000 |
commit | 32f00aa66c66f09423116314cb22284e3049244a (patch) | |
tree | 969a3e2884b8c30776149cd78b513ed0f7ef7aa3 /ax25/axgetput/proto_bin.c | |
parent | 17b789c15b741adb82d8e77a6d736864fc5a9a75 (diff) |
time_t for file_time
Diffstat (limited to 'ax25/axgetput/proto_bin.c')
-rw-r--r-- | ax25/axgetput/proto_bin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ax25/axgetput/proto_bin.c b/ax25/axgetput/proto_bin.c index b0658f8..c59a43c 100644 --- a/ax25/axgetput/proto_bin.c +++ b/ax25/axgetput/proto_bin.c @@ -1,4 +1,4 @@ -/* @(#) $Id: proto_bin.c,v 1.3 2009/01/22 10:46:10 dl9sau Exp $ */ +/* @(#) $Id: proto_bin.c,v 1.4 2009/01/22 11:08:50 dl9sau Exp $ */ /* * (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de> @@ -298,7 +298,7 @@ int bget(void) { unsigned long file_size = 0; unsigned long len_remains; int is_eof; - int file_time = 0L; + time_t file_time = 0L; #define save_close(x) { \ if (!fdin_is_pipe) \ @@ -385,7 +385,7 @@ int bget(void) { if (do_crc_only) { printf("File information for %s:\n", get_fixed_filename(filename, file_size, crc, 1)); - printf(" size %ld bytes, crc %d, date %s (%d)\n", file_size, crc, unix_to_sfbin_date_string(file_time), file_time); + printf(" size %ld bytes, crc %d, date %s (%ld)\n", file_size, crc, unix_to_sfbin_date_string(file_time), file_time); return 0; } |