diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/util/os_installation.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 188401abb..00825f2b7 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -57,9 +57,9 @@ get_path_from_proc_maps () | |||
57 | return NULL; | 57 | return NULL; |
58 | while (NULL != fgets (line, sizeof (line), f)) | 58 | while (NULL != fgets (line, sizeof (line), f)) |
59 | { | 59 | { |
60 | if ((1 == sscanf (line, | 60 | if ((1 == |
61 | "%*x-%*x %*c%*c%*c%*c %*x %*2u:%*2u %*u%*[ ]%s", | 61 | sscanf (line, "%*x-%*x %*c%*c%*c%*c %*x %*2u:%*2u %*u%*[ ]%s", dir)) && |
62 | dir)) && (NULL != (lgu = strstr (dir, "libgnunetutil")))) | 62 | (NULL != (lgu = strstr (dir, "libgnunetutil")))) |
63 | { | 63 | { |
64 | lgu[0] = '\0'; | 64 | lgu[0] = '\0'; |
65 | fclose (f); | 65 | fclose (f); |
@@ -476,8 +476,8 @@ GNUNET_OS_check_helper_binary (const char *binary) | |||
476 | } | 476 | } |
477 | if (0 != STAT (p, &statbuf)) | 477 | if (0 != STAT (p, &statbuf)) |
478 | { | 478 | { |
479 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 479 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, _("stat (%s) failed: %s\n"), p, |
480 | _("stat (%s) failed: %s\n"), p, STRERROR (errno)); | 480 | STRERROR (errno)); |
481 | GNUNET_free (p); | 481 | GNUNET_free (p); |
482 | return GNUNET_SYSERR; | 482 | return GNUNET_SYSERR; |
483 | } | 483 | } |