diff --git a/src/modules/files/efuns.c b/src/modules/files/efuns.c index cfc4f25d8a424bc958e7f192297657f8a4bd0c75..30f6102c3a30fcd6a043add8c8939c41d1bf46af 100644 --- a/src/modules/files/efuns.c +++ b/src/modules/files/efuns.c @@ -22,7 +22,7 @@ #include "file_machine.h" #include "file.h" -RCSID("$Id: efuns.c,v 1.50 1998/06/08 12:48:30 grubba Exp $"); +RCSID("$Id: efuns.c,v 1.51 1998/06/22 20:07:08 grubba Exp $"); #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -110,7 +110,7 @@ void f_file_stat(INT32 args) error("Bad argument 1 to file_stat()\n"); s = sp[-args].u.string->str; - l = (args>1 && !IS_ZERO(sp-1-args))?1:0; + l = (args>1 && !IS_ZERO(sp+1-args))?1:0; THREADS_ALLOW_UID(); #ifdef HAVE_LSTAT if(l)