Imported Upstream version 2.5.1p3
[debian/amanda] / restore-src / amrestore.c
index 1410b9dccff09c2cb43f5487968c5a9bca14a82a..57746f59ae56d7849e8b2166a36dd30eb9aac50c 100644 (file)
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: amrestore.c,v 1.63 2006/07/25 18:58:10 martinea Exp $
+ * $Id: amrestore.c,v 1.63.2.1 2006/11/08 17:11:40 martinea Exp $
  *
  * retrieves files from an amanda tape
  */
@@ -168,7 +168,7 @@ main(
        case 'p': rst_flags->pipe_to_fd = fileno(stdout); break;
        case 'h': rst_flags->headers = 1; break;
        case 'f':
-           filefsf = (off_t)strtoll(optarg, &e, 10);
+           filefsf = (off_t)OFF_T_STRTOL(optarg, &e, 10);
            /*@ignore@*/
            if(*e != '\0') {
                error("invalid fileno value \"%s\"", optarg);