chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace
[elogind.git]
/
extras
/
mtd_probe
/
mtd_probe.c
diff --git
a/extras/mtd_probe/mtd_probe.c
b/extras/mtd_probe/mtd_probe.c
index d335b0628aab31281c06612438189bdf50cb31ce..e45867ffa9557dc003c36606f6213d548f2e49fc 100644
(file)
--- a/
extras/mtd_probe/mtd_probe.c
+++ b/
extras/mtd_probe/mtd_probe.c
@@
-1,7
+1,4
@@
/*
/*
- * mtd_probe.c
- * This file is part of mtd_probe
- *
* Copyright (C) 2010 - Maxim Levitsky
*
* mtd_probe is free software; you can redistribute it and/or modify
* Copyright (C) 2010 - Maxim Levitsky
*
* mtd_probe is free software; you can redistribute it and/or modify
@@
-16,7
+13,7
@@
*
* You should have received a copy of the GNU General Public License
* along with mtd_probe; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with mtd_probe; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
#include "mtd_probe.h"
* Boston, MA 02110-1301 USA
*/
#include "mtd_probe.h"
@@
-29,8
+26,8
@@
#include <unistd.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdlib.h>
-int main(int argc, char** argv)
{
-
+int main(int argc, char** argv)
+{
if (argc != 2) {
printf("usage: mtd_probe /dev/mtd[n]\n");
return 1;
if (argc != 2) {
printf("usage: mtd_probe /dev/mtd[n]\n");
return 1;