diff options
author | Karel Zak | 2019-03-19 12:40:49 +0100 |
---|---|---|
committer | Karel Zak | 2019-03-19 13:57:05 +0100 |
commit | 357dd756d14c664b408d8a1bfdede45bc040131c (patch) | |
tree | 78a87768de155ba6684bd19a2e8bf0b1185340a4 /lib | |
parent | lscpu: rename macros and functions (diff) | |
download | kernel-qcow2-util-linux-357dd756d14c664b408d8a1bfdede45bc040131c.tar.gz kernel-qcow2-util-linux-357dd756d14c664b408d8a1bfdede45bc040131c.tar.xz kernel-qcow2-util-linux-357dd756d14c664b408d8a1bfdede45bc040131c.zip |
lib/path: remove extra semi-colons
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/path.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/path.c b/lib/path.c index e2e26c22c..a9c47f2a1 100644 --- a/lib/path.c +++ b/lib/path.c @@ -583,7 +583,7 @@ int ul_path_read_string(struct path_cxt *pc, char **str, const char *path) rc = ul_path_read(pc, buf, sizeof(buf) - 1, path); if (rc < 0 || !str) - return rc;; + return rc; /* Remove tailing newline (usual in sysfs) */ if (rc > 0 && *(buf + rc - 1) == '\n') @@ -616,7 +616,7 @@ int ul_path_read_buffer(struct path_cxt *pc, char *buf, size_t bufsz, const char { int rc = ul_path_read(pc, buf, bufsz - 1, path); if (rc < 0) - return rc;; + return rc; /* Remove tailing newline (usual in sysfs) */ if (rc > 0 && *(buf + rc - 1) == '\n') @@ -703,7 +703,7 @@ int ul_path_readf_s64(struct path_cxt *pc, int64_t *res, const char *path, ...) va_end(ap); if (!p) - return -EINVAL;; + return -EINVAL; return ul_path_read_s64(pc, res, p); } |