summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-03-16 15:41:10 +0000
committerkrw <krw@openbsd.org>2016-03-16 15:41:10 +0000
commitc9899b11e3d79a7bf5a70dcb12f582cc0994240e (patch)
tree232b670fadcc76fe1d791a3d835b5a816acdb43b /usr.sbin/amd
parentstyle(9) includes (diff)
downloadwireguard-openbsd-c9899b11e3d79a7bf5a70dcb12f582cc0994240e.tar.xz
wireguard-openbsd-c9899b11e3d79a7bf5a70dcb12f582cc0994240e.zip
More "(<blah> *)0" -> NULL, avoiding any stdarg functions.
Feedback millert@ kettenis@
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/sfs_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/sfs_ops.c b/usr.sbin/amd/amd/sfs_ops.c
index eed719344a3..9f14e4f7d9b 100644
--- a/usr.sbin/amd/amd/sfs_ops.c
+++ b/usr.sbin/amd/amd/sfs_ops.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)sfs_ops.c 8.1 (Berkeley) 6/6/93
- * $Id: sfs_ops.c,v 1.5 2015/12/05 21:15:01 mmcc Exp $
+ * $Id: sfs_ops.c,v 1.6 2016/03/16 15:41:11 krw Exp $
*/
#include "am.h"
@@ -84,7 +84,7 @@ sfs_match(am_opts *fo)
if (*link == '/')
fullpath = strdup(link);
else
- fullpath = str3cat((char *)0, fo->opt_fs, "/", link);
+ fullpath = str3cat(NULL, fo->opt_fs, "/", link);
} else {
fullpath = strdup(fo->opt_fs);
}