[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/06: Fixed inconsistent spacing in perror
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/06: Fixed inconsistent spacing in perror output |
Date: |
Tue, 9 Dec 2014 20:02:12 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit b0b62054e73b3632f79817935814334028752afb
Author: Marcus Müller <address@hidden>
Date: Tue Nov 25 18:27:18 2014 +0100
Fixed inconsistent spacing in perror output
---
gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
index 27ad4f3..c368128 100644
--- a/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_sysv_shm.cc
@@ -77,7 +77,7 @@ namespace gr {
}
if((shmid2 = shmget(IPC_PRIVATE, 2 * size + 2 * pagesize, IPC_CREAT |
0700)) == -1) {
- perror("gr::vmcircbuf_sysv_shm: shmget(1)");
+ perror("gr::vmcircbuf_sysv_shm: shmget (1)");
shmctl(shmid_guard, IPC_RMID, 0);
continue;
}
@@ -91,7 +91,7 @@ namespace gr {
void *first_copy = shmat (shmid2, 0, 0);
if(first_copy == (void *) -1) {
- perror("gr::vmcircbuf_sysv_shm: shmat(1)");
+ perror("gr::vmcircbuf_sysv_shm: shmat (1)");
shmctl(shmid_guard, IPC_RMID, 0);
shmctl(shmid2, IPC_RMID, 0);
shmctl(shmid1, IPC_RMID, 0);
@@ -111,7 +111,7 @@ namespace gr {
// first read-only guard page
if(shmat(shmid_guard, first_copy, SHM_RDONLY) == (void *) -1) {
- perror("gr::vmcircbuf_sysv_shm: shmat(2)");
+ perror("gr::vmcircbuf_sysv_shm: shmat (2)");
shmctl(shmid_guard, IPC_RMID, 0);
shmctl(shmid1, IPC_RMID, 0);
continue;
@@ -137,7 +137,7 @@ namespace gr {
// second read-only guard page
if(shmat(shmid_guard, (char*)first_copy + pagesize + 2 * size,
SHM_RDONLY) == (void *) -1) {
- perror("gr::vmcircbuf_sysv_shm: shmat(5)");
+ perror("gr::vmcircbuf_sysv_shm: shmat (5)");
shmctl(shmid_guard, IPC_RMID, 0);
shmctl(shmid1, IPC_RMID, 0);
shmdt(first_copy);
@@ -155,7 +155,7 @@ namespace gr {
break;
}
if(attempts_remain<0){
- throw std::runtime_error("gr_vmcircbuf_sysv_shm");
+ throw std::runtime_error("gr::vmcircbuf_sysv_shm");
}
#endif
}
@@ -169,7 +169,7 @@ namespace gr {
|| shmdt(d_base) == -1
|| shmdt(d_base + d_size) == -1
|| shmdt(d_base + 2 * d_size) == -1){
- perror("gr::vmcircbuf_sysv_shm: shmdt(2)");
+ perror("gr::vmcircbuf_sysv_shm: shmdt (2)");
}
#endif
}
- [Commit-gnuradio] [gnuradio] branch maint updated (ec05c9b -> e6193c2), git, 2014/12/09
- [Commit-gnuradio] [gnuradio] 02/06: Fixed inconsistent spacing in perror output,
git <=
- [Commit-gnuradio] [gnuradio] 04/06: Merge remote-tracking branch 'mmueller/runtime_fix_spacing_in_perror' into maint, git, 2014/12/09
- [Commit-gnuradio] [gnuradio] 01/06: grc: no tooltips for old GTK versions, git, 2014/12/09
- [Commit-gnuradio] [gnuradio] 03/06: fixed UHD manual URLs, git, 2014/12/09
- [Commit-gnuradio] [gnuradio] 05/06: Merge remote-tracking branch 'mmueller/gr_uhd_fix_URLs' into maint, git, 2014/12/09
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2014/12/09