summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2001-03-16 20:35:35 +0000
committerlukem <lukem@NetBSD.org>2001-03-16 20:35:35 +0000
commitb687712e95e426d00b6eecbefbba8df7b47e9c7b (patch)
tree46fe6dfce975a21907541a8a09c838bf9c0a7a91 /libexec
parentf913546a2e435153ad1ed70a6e2908f1a93c26f1 (diff)
don't support t(erabyte) as a suffix in strsuftoll() #ifdef NO_LONG_LONG
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/conf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/ftpd/conf.c b/libexec/ftpd/conf.c
index 53b9c9e2505..8260ba88bfa 100644
--- a/libexec/ftpd/conf.c
+++ b/libexec/ftpd/conf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.37 2000/12/18 02:32:50 lukem Exp $ */
+/* $NetBSD: conf.c,v 1.38 2001/03/16 20:35:35 lukem Exp $ */
/*-
* Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: conf.c,v 1.37 2000/12/18 02:32:50 lukem Exp $");
+__RCSID("$NetBSD: conf.c,v 1.38 2001/03/16 20:35:35 lukem Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -933,9 +933,11 @@ strsuftoll(const char *arg)
case 'g':
val <<= 30;
break;
+#ifndef NO_LONG_LONG
case 't':
val <<= 40;
break;
+#endif
default:
return (-1);
}