diff options
Diffstat (limited to 'source4/lib/replace/replace.c')
-rw-r--r-- | source4/lib/replace/replace.c | 3 |
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 */ |