pw_log.c (cfe30d02adda7c3b5c76156ac52d50d8cab325d9) | pw_log.c (bcbdb01e569876034a66c001132994482b048c31) |
---|---|
1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 */ 26 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 32#include <fcntl.h> | 1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 */ 26 27#ifndef lint 28static const char rcsid[] = 29 "$FreeBSD$"; 30#endif /* not lint */ 31 32#include <fcntl.h> |
33#include <string.h> 34#include <stdarg.h> |
|
33 34#include "pw.h" 35 36static FILE *logfile = NULL; 37 38void 39pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) 40{ --- 26 unchanged lines hidden --- | 35 36#include "pw.h" 37 38static FILE *logfile = NULL; 39 40void 41pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) 42{ --- 26 unchanged lines hidden --- |