From: thib Date: Thu, 16 Nov 2000 17:57:11 +0000 (+0000) Subject: bug corrected : changed daemon_uid's type from int to uid_t X-Git-Tag: ver1564~425 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=154c273d2f66db0ade21d84c81126f4db2a49660;p=fcron bug corrected : changed daemon_uid's type from int to uid_t --- diff --git a/fcron.c b/fcron.c index 85fa85f..befc90c 100644 --- a/fcron.c +++ b/fcron.c @@ -21,11 +21,11 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.c,v 1.33 2000-11-10 17:35:40 thib Exp $ */ + /* $Id: fcron.c,v 1.34 2000-11-16 17:57:11 thib Exp $ */ #include "fcron.h" -char rcs_info[] = "$Id: fcron.c,v 1.33 2000-11-10 17:35:40 thib Exp $"; +char rcs_info[] = "$Id: fcron.c,v 1.34 2000-11-16 17:57:11 thib Exp $"; void main_loop(void); void check_signal(void); @@ -349,7 +349,7 @@ main(int argc, char **argv) else prog_name = strrchr(argv[0], '/') + 1; { - int daemon_uid; + uid_t daemon_uid; if ( (daemon_uid = getuid()) != 0 ) die("Fcron must be executed as root"); }