diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2016-07-14 04:00:45 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2016-07-14 04:00:45 +0000 |
| commit | fea989253ed8b48a330618c0627abb9b4a04cccd (patch) | |
| tree | 6236589963fe755610e0a307937db6dcf069352a /sys/modules/lua | |
| parent | afaa2112ba51f3fedc702c64c05dcea4f156c5c4 (diff) | |
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
Diffstat (limited to 'sys/modules/lua')
| -rw-r--r-- | sys/modules/lua/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/lua/lua.c b/sys/modules/lua/lua.c index 55a19fb8752..7ac86ad263b 100644 --- a/sys/modules/lua/lua.c +++ b/sys/modules/lua/lua.c @@ -1,4 +1,4 @@ -/* $NetBSD: lua.c,v 1.17 2016/05/21 12:39:32 salazar Exp $ */ +/* $NetBSD: lua.c,v 1.18 2016/07/14 04:00:46 msaitoh Exp $ */ /* * Copyright (c) 2014 by Lourival Vieira Neto <lneto@NetBSD.org>. @@ -152,7 +152,7 @@ lua_attach(device_t parent, device_t self, void *aux) CTL_KERN, CTL_CREATE, CTL_EOL); if (node == NULL) { - printf(": can't create sysctl node\n"); + aprint_error(": can't create sysctl node\n"); return; } |
