* Karel Zak <[EMAIL PROTECTED]> [2007-07-13 14:13]:
> > +static int read_clock_mode(void)
> > +{
> > +   FILE *fp;
> > +   char linebuf[MAX_LINE];
> > +
> > +   fp = fopen(ADJTIME_PATH, "r");
> > +   if (!fp)
> > +           return 0;
> > +
>   ....
> 
>   fclose(fp);

That would be fclose(NULL). Where's the benefit?



Thanks,
   Bernhard
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to