aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2012-10-18 23:20:16 +0900
committerChris E Ferron <chris.e.ferron@linux.intel.com>2012-10-24 10:38:24 -0700
commitc8e4a622b92511bc66778c905d9a876f84058348 (patch)
treebae4a995b7b2fc344096438f9627275627e3be8a
parentd075d8668cd6723a5938ff0f04d7ac39c6e5f2e0 (diff)
devices: Trivial coding style fix
* block statement doesn't need a semicolon. * put closing curly bracket of function on a new line. Signed-off-by: Namhyung Kim <namhyung@gmail.com>
-rw-r--r--src/devices/rfkill.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/rfkill.cpp b/src/devices/rfkill.cpp
index 750175c..2404432 100644
--- a/src/devices/rfkill.cpp
+++ b/src/devices/rfkill.cpp
@@ -63,11 +63,12 @@ rfkill::rfkill(char *_name, char *path): device()
sprintf(filename, "%s/device/driver", path);
if (readlink(filename, line, 4096) > 0) {
sprintf(humanname, _("Radio device: %s"), basename(line));
- };
+ }
sprintf(filename, "%s/device/device/driver", path);
if (readlink(filename, line, 4096) > 0) {
sprintf(humanname, _("Radio device: %s"), basename(line));
- }}
+ }
+}
void rfkill::start_measurement(void)
{