summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-22 10:01:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:56 -0500
commit0edd0f43c0d25c31e893a4200aa583d83f81ba9c (patch)
tree9dc9714ac1fb73eb43d6b4a481952955fcc4d73a /source4
parent92a6cd373a9f6b1468089e269bccbe1d0dbc65e9 (diff)
downloadsamba-0edd0f43c0d25c31e893a4200aa583d83f81ba9c.tar.gz
samba-0edd0f43c0d25c31e893a4200aa583d83f81ba9c.tar.bz2
samba-0edd0f43c0d25c31e893a4200aa583d83f81ba9c.zip
r8710: another attempt at fixing HPUX
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/replace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c
index 20a420084a..9ef3999769 100644
--- a/source4/lib/replace/replace.c
+++ b/source4/lib/replace/replace.c
@@ -514,7 +514,8 @@ int get_time_zone(time_t t)
#else
unsigned long long int v;
if (sscanf(str, "%lli", &v) != 1) {
- smb_panic("system does not support %lli in sscanf");
+ errno = EINVAL;
+ return 0;
}
if (endptr) {
/* try to get endptr right - uggh */