diff options
author | Karel Zak | 2009-10-07 00:04:08 +0200 |
---|---|---|
committer | Karel Zak | 2009-10-07 00:04:08 +0200 |
commit | f54a736f2f928c1eb8aa10fcf7d8c4c99e3d8255 (patch) | |
tree | b7a4700a71481d856f5ed6b41ebccf95fe8d9d93 /misc-utils/wipefs.c | |
parent | fallocate: check for ERANGE errors (diff) | |
download | kernel-qcow2-util-linux-f54a736f2f928c1eb8aa10fcf7d8c4c99e3d8255.tar.gz kernel-qcow2-util-linux-f54a736f2f928c1eb8aa10fcf7d8c4c99e3d8255.tar.xz kernel-qcow2-util-linux-f54a736f2f928c1eb8aa10fcf7d8c4c99e3d8255.zip |
wipefs: fix coding style
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r-- | misc-utils/wipefs.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index b34ecfaef..5ed7f8ff4 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -133,7 +133,8 @@ add_offset(struct wipe_desc *wp0, loff_t offset, int zap) return wp; } -static inline void *xmalloc(size_t sz) +static inline void * +xmalloc(size_t sz) { void *x = malloc(sz); if (!x) @@ -141,7 +142,8 @@ static inline void *xmalloc(size_t sz) return x; } -static inline char *xstrdup(const char *s) +static inline char * +xstrdup(const char *s) { char *x = strdup(s); if (!x) |