summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-16 15:41:12 +0000
commitd8ebeb5c1882685478f7aff85d3cfd52cb45385b (patch)
tree6a871a498e943d359bc98a18b415e916ac0ef2b6 /usr.sbin/amd
parent043c400f909ee0b4431a6657c5b1550df8ab4c83 (diff)
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);
}